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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ShipIdVoyage that the container belongs to.String (20)
ITMId
YesITMTable.ShipIdNone
ShipContainerIdShipping container that the leg is for.String (20)
ITMContainerId
YesITMContainerTable.ShipContainerIdNone
LineNumLine number within the container.Real
LineNum
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DlvModeIdMode of delivery for the leg.String
DlvModeId
NoDlvMode.CodeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ShipFromPortPort where the leg starts.String (20)
ITMFromPort
NoITMPortTable.ShipPortIdNone
ShipLegIdLeg of the voyage.String (15)
ITMLegId
NoITMLegTable.LegIdNone
ShipToPortPort where the leg ends.String (20)
ITMToPort
NoITMPortTable.ShipPortIdNone
ShipVendAccountVendor acting as the shipping company.String (20)
ITMVendAccount
NoVendTable.AccountNumNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (8)

Each relation joins ITMContainerLegTable to another table on the fields shown.

  • DlvMode → DlvMode

    Join on DlvModeId = DlvMode.Code

    Many ITMContainerLegTable records → exactly one DlvMode record

  • ITMContainers → ITMContainers

    Join on ShipId = ITMContainers.ShipId, ShipContainerId = ITMContainers.ShipContainerId

    Many ITMContainerLegTable records → exactly one ITMContainers record

  • ITMContainerTable → ITMContainerTable

    Join on ShipContainerId = ITMContainerTable.ShipContainerId

    One or more ITMContainerLegTable records → exactly one ITMContainerTable record

  • ITMLegTable → ITMLegTable

    Join on ShipLegId = ITMLegTable.LegId

    Many ITMContainerLegTable records → exactly one ITMLegTable record

  • ITMTable → ITMTable

    Join on ShipId = ITMTable.ShipId

    One or more ITMContainerLegTable records → exactly one ITMTable record

  • ShipFromPort → ITMPortTable

    Join on ShipFromPort = ITMPortTable.ShipPortId

    Many ITMContainerLegTable records → exactly one ITMPortTable record

  • ShipToPort → ITMPortTable

    Join on ShipToPort = ITMPortTable.ShipPortId

    Many ITMContainerLegTable records → exactly one ITMPortTable record

  • VendTable → VendTable

    Join on ShipVendAccount = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::ShipVend

    Many 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.

Need help with ITMContainerLegTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk