p6_get_relationships
Retrieve predecessor and successor relationships for a Primavera P6 activity, including lag details and pagination. Use direction to filter pred, succ, or both.
Instructions
Relationships of an activity, one page: {total, offset, returned, next_offset, rows, lag_rule}. direction: pred, succ or both. Lag in hours (lag_h) and days (lag_d); lag_rule tells which calendar converts lag days (project schedule option, predecessor calendar by default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page (max 200). | |
| offset | No | Rows to skip: pass next_offset from the previous page. | |
| project | Yes | Project ID as shown in P6 (p6_list_projects). | |
| direction | No | both | |
| task_code | Yes | Activity ID (task_code). |