Table

ITMLegTable

Legs

Holds legs, which are single stages of a journey. Each leg has a description, a mode of delivery and a from port and to port. Journey template lines refer to these records.

Table name
ITMLegTable
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LegIdx
Replacement key
LegIdx
Key fields
LegId
Model
InboundTransportationManagement

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LegIdUnique ID of the leg.String (15)
ITMLegId
YesITMJourneyLegEntityITMContainerActivityEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the leg.String (60)
Description
NoITMJourneyLegEntity
DlvModeIdMode of delivery used for the leg.String
DlvModeId
YesDlvMode.CodeITMJourneyLegEntity
FromPortShipping port where the leg starts.String (20)
ITMFromPort
YesITMPortTable.ShipPortIdITMJourneyLegEntity
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
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
ToPortShipping port where the leg ends.String (20)
ITMToPort
YesITMPortTable.ShipPortIdITMJourneyLegEntity

Indexes (1)

  • LegIdxPrimary indexReplacement key

    LegId

    Unique, alternate key.

Relations (3)

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

  • DlvMode → DlvMode

    Join on DlvModeId = DlvMode.Code

    One or more ITMLegTable records → exactly one DlvMode record

  • FromPort → ITMPortTable

    Join on FromPort = ITMPortTable.ShipPortId

    One or more ITMLegTable records → exactly one ITMPortTable record

  • ToPort → ITMPortTable

    Join on ToPort = ITMPortTable.ShipPortId

    One or more ITMLegTable records → exactly one ITMPortTable record

Get this data out

Tables are not exposed directly. These public entities read from ITMLegTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk