Wp |
The WpTree type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChildWoId | ID of the Work Order participating in Work Plan. |
![]() | DependOnWorkOrder | Peer sibling WO on which WO defined by cWOID depends; NULL means no dependency. |
![]() | Level | This field tells on which level of Work Plan WO defined by cWOID is placed. Only values 0, 1 and 2 are allowed: 0 means cWOID is the root (in this case RootWOID == cWOID); 1 means it’s a child; 2 means it’s a grandchild. |
![]() | Number | Numeric suffix used to build WO number for WO defined by cWOID. If cWOID is root this field is zero. Allowed values are 0 – 100, which means single parent cannot have more than 100 children. |
![]() | ParentWorkOrder | Immediate parent of the Work Order defined by cWOID. If cWOID is root, pWOID == cWOID. |
![]() | RootWorkOrder | Root of the Work Plan. |