Table
ITMContainerLegTable
Shipping container legs
Lists the legs of a journey for a shipping container on a voyage. Each leg has a from port, a to port, a mode of delivery and a shipping company. The key is the voyage, the container and the line number.
- Table name
ITMContainerLegTable- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
LineIdx- Replacement key
LineIdx- Key fields
ShipId, ShipContainerId, LineNum- Model
InboundTransportationManagement
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ShipIdVoyage that the container belongs to. | String (20)ITMId | Yes | ITMTable.ShipId | None |
ShipContainerIdShipping container that the leg is for. | String (20)ITMContainerId | Yes | ITMContainerTable.ShipContainerId | None |
LineNumLine number within the container. | RealLineNum | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DlvModeIdMode of delivery for the leg. | StringDlvModeId | No | DlvMode.Code | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ShipFromPortPort where the leg starts. | String (20)ITMFromPort | No | ITMPortTable.ShipPortId | None |
ShipLegIdLeg of the voyage. | String (15)ITMLegId | No | ITMLegTable.LegId | None |
ShipToPortPort where the leg ends. | String (20)ITMToPort | No | ITMPortTable.ShipPortId | None |
ShipVendAccountVendor acting as the shipping company. | String (20)ITMVendAccount | No | VendTable.AccountNum | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
LineIdxPrimary indexReplacement keyShipId,ShipContainerId,LineNumUnique, alternate key.
Relations (8)
Each relation joins ITMContainerLegTable to another table on the fields shown.
DlvMode→DlvModeJoin on
DlvModeId = DlvMode.CodeMany ITMContainerLegTable records → exactly one DlvMode record
ITMContainers→ITMContainersJoin on
ShipId = ITMContainers.ShipId,ShipContainerId = ITMContainers.ShipContainerIdMany ITMContainerLegTable records → exactly one ITMContainers record
ITMContainerTable→ITMContainerTableJoin on
ShipContainerId = ITMContainerTable.ShipContainerIdOne or more ITMContainerLegTable records → exactly one ITMContainerTable record
ITMLegTable→ITMLegTableJoin on
ShipLegId = ITMLegTable.LegIdMany ITMContainerLegTable records → exactly one ITMLegTable record
ITMTable→ITMTableJoin on
ShipId = ITMTable.ShipIdOne or more ITMContainerLegTable records → exactly one ITMTable record
ShipFromPort→ITMPortTableJoin on
ShipFromPort = ITMPortTable.ShipPortIdMany ITMContainerLegTable records → exactly one ITMPortTable record
ShipToPort→ITMPortTableJoin on
ShipToPort = ITMPortTable.ShipPortIdMany ITMContainerLegTable records → exactly one ITMPortTable record
VendTable→VendTableJoin on
ShipVendAccount = VendTable.AccountNum,VendTable.ITMVendType = ITMVendType::ShipVendMany ITMContainerLegTable records → exactly one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from ITMContainerLegTable; use one of them in Power BI, Power Platform or a data management project.
ITMContainerActivityEntity· 0 fields from this table
Need help with ITMContainerLegTable in a report, an integration or a migration? Talk to Dr Dynamics.