Table

ITMJourneyLine

Journey lines

Holds the lines of a journey template. Each line is one leg of the journey, identified by journey template and leg. It links to the journey template, the leg, ports, the delivery mode and the shipping company (a vendor).

Table name
ITMJourneyLine
Module
Cross-module and platform
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
JourneyLegIdx
Replacement key
JourneyLegIdx
Key fields
JourneyId, LegId
Model
InboundTransportationManagement

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JourneyIdJourney template that this line belongs to.String (15)
ITMJourneyId
YesITMJourneyTable.JourneyIdITMJourneyTemplateLineEntity
LegIdLeg used on this line, pointing to a leg record.String (15)
ITMLegId
YesITMLegTable.LegIdITMJourneyTemplateLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DlvModeIdMode of delivery used for this leg, pointing to a delivery mode record.String
DlvModeId
NoDlvMode.CodeITMJourneyTemplateLineEntity
FromPortShipping port where this leg starts.String (20)
ITMFromPort
NoITMPortTable.ShipPortIdITMJourneyTemplateLineEntity
JourneyFromPortYes/No flag marking this leg's starting port as the port the journey starts from.Enum
ITMJourneyFromPort
NoYes (enum)
NoITMJourneyTemplateLineEntity
JourneyToPortYes/No flag marking this leg's end port as the port the journey ends at.Enum
ITMJourneyToPort
NoYes (enum)
NoITMJourneyTemplateLineEntity
LineNumNumber that sets the position of the line within the journey template.Real
LineNum
NoITMJourneyTemplateLineEntity
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
ShipVendAccountVendor account of the shipping company that carries the goods on this leg.String (20)
ITMVendAccount
NoVendTable.AccountNumITMJourneyTemplateLineEntity
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 this leg ends.String (20)
ITMToPort
NoITMPortTable.ShipPortIdITMJourneyTemplateLineEntity

Indexes (2)

Relations (6)

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

  • DlvMode → DlvMode

    Join on DlvModeId = DlvMode.Code

    Many ITMJourneyLine records → exactly one DlvMode record

  • FromPort → ITMPortTable

    Join on FromPort = ITMPortTable.ShipPortId

    Many ITMJourneyLine records → exactly one ITMPortTable record

  • ITMJourneyTable → ITMJourneyTable

    Join on JourneyId = ITMJourneyTable.JourneyId

    One or more ITMJourneyLine records → exactly one ITMJourneyTable record

  • ITMLegTable → ITMLegTable

    Join on LegId = ITMLegTable.LegId

    One or more ITMJourneyLine records → exactly one ITMLegTable record

  • ToPort → ITMPortTable

    Join on ToPort = ITMPortTable.ShipPortId

    Many ITMJourneyLine records → exactly one ITMPortTable record

  • VendTable → VendTable

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

    Many ITMJourneyLine records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk