TaskLink information for Primavera P6 relationships is missing LinkLag data

Reading a P6 .xer the LinkLag data doesn’t seem to be populated.

        string fileName = @"C:\Birthday Party.xer";

        Project m_Project = new Project(fileName);
        foreach (var xxx in m_Project.TaskLinks) {
            if (xxx.SuccTask.Get(Tsk.ActivityId) == "A1020" && xxx.PredTask.Get(Tsk.ActivityId) == "A1060") {
                Console.WriteLine("Relationship: {0} Lag: {1} Format: {2} ", xxx.LinkType, xxx.LinkLag, xxx.LagFormat);

image.png (11.0 KB)
Birthday Party.zip (5.3 KB)

Yes, LinkLag is not populated. We will fix it in v. 22.8.

A ticket with ID TASKSNET-10603 has been created to resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as TASKSNET-10603) have been fixed in this update.