Table

ITMLine

Voyage item lines

Holds item lines for a voyage. Each line links to a purchase order line or a transfer order line, and to a container, folio, item and inventory dimensions. It carries quantity, declared quantity, volume, weight and measurement figures. The key is the company plus the lot ID.

Table name
ITMLine
Module
Cross-module and platform
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
TransIdIdx
Replacement key
TransIdIdx
Key fields
ShipDataArea, InventTransId
Model
InboundTransportationManagement

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ShipDataAreaCompany that the line belongs to.String (4)
ITMDataArea
YesITMFolioTable.ShipDataAreaInventDim.dataAreaIdInventTable.dataAreaIdInventTransferTable.dataAreaIdPurchTable.dataAreaIdNone
InventTransIdLot ID of the inventory transaction.String (20)
InventTransId
YesInventTransOrigin.InventTransIdITMPurchaseLinesEntityITMTransferLinesEntity
CurrencyCodeCurrency of the line.String (3)
CurrencyCode
NoCurrency.CurrencyCodeITMPurchaseLinesEntityITMTransferLinesEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension record for the line.String (20)
InventDimId
NoInventDim.inventDimIdITMPurchaseLinesEntityITMTransferLinesEntity
LineAmountMSTLine amount, in the accounting currency.Real
AmountMST
NoITMPurchaseLinesEntityITMTransferLinesEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchIdPurchase order that the line comes from.String (20)
PurchId
NoPurchTable.PurchIdITMPurchaseLinesEntityITMTransferLinesEntity
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
RefRecIdRecord ID of the referenced record, such as a transfer order line.Int64
RefRecId
YesITMPurchaseLinesEntityITMTransferLinesEntity
RefTableIdID of the table that the reference points to.Integer
RefTableId
YesITMTransferLinesEntity
ShipContainerIdShipping container that holds the item.String (20)
ITMContainerId
NoITMContainerTable.ShipContainerIdITMPurchaseLinesEntityITMTransferLinesEntity
ShipDeclaredQtyQuantity declared for the line.Real
ITMDeclaredQuantity
NoITMPurchaseLinesEntityITMTransferLinesEntity
ShipFolioIdFolio that the line belongs to.String (20)
ITMFolioId
NoITMFolioTable.ShipFolioIdITMPurchaseLinesEntityITMTransferLinesEntity
ShipIdVoyage that the line belongs to.String (20)
ITMId
YesITMTable.ShipIdITMPurchaseLinesEntityITMTransferLinesEntity
ShipItemIdItem on the line.String (20)
ItemId
YesInventTable.ItemIdITMPurchaseLinesEntityITMTransferLinesEntity
ShipMeasurementMeasurement value of the line, in the measurement unit.Real
ITMMeasurement
NoITMPurchaseLinesEntityITMTransferLinesEntity
ShipMeasurementUnitUnit of the measurement: lbs, CBM, Skids, kgs or CBF.Enum
ITMMeasurementUnit (enum)
NoITMPurchaseLinesEntityITMTransferLinesEntity
ShipNoOfCartonsNumber of cartons.Real
ITMNumberOfCartons
NoITMPurchaseLinesEntityITMTransferLinesEntity
ShipPositionPosition of the line.Integer
ITMPosition
NoITMPurchaseLinesEntityITMTransferLinesEntity
ShipQtyQuantity on the line.Real
ITMQuantity
NoITMPurchaseLinesEntityITMTransferLinesEntity
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
TransRefIdNumber of the transfer order or purchase order that the line comes from.String (20)
InventTransRefId
YesInventTransferTable.TransferIdPurchTable.PurchIdITMPurchaseLinesEntityITMTransferLinesEntity
TransTypeKind of source transaction, such as purchase order or transfer.Enum
InventTransType (enum)
NoITMPurchaseLinesEntityITMTransferLinesEntity
UnitIdUnit of measure of the line.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolITMPurchaseLinesEntityITMTransferLinesEntity
VolumeVolume of the line.Real
Volume
NoITMPurchaseLinesEntityITMTransferLinesEntity
WeightWeight of the line.Real
Weight
NoITMPurchaseLinesEntityITMTransferLinesEntity

Indexes (8)

Relations (16)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many ITMLine records → exactly one Currency record

  • DataArea → DataArea

    Join on ShipDataArea = DataArea.id

    One or more ITMLine records → exactly one DataArea record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId, ShipDataArea = InventDim.dataAreaId

    Many ITMLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on ShipItemId = InventTable.ItemId, ShipDataArea = InventTable.dataAreaId

    Many ITMLine records → exactly one InventTable record

  • InventTransferLine → InventTransferLine

    Join on ShipDataArea = InventTransferLine.dataAreaId, RefTableId = InventTransferLine.TableId, RefRecId = InventTransferLine.RecId

    Zero or one ITMLine record → zero or one InventTransferLine record

  • InventTransferTable → InventTransferTable

    Join on TransType = InventTransType::TransferOrderReceive, TransRefId = InventTransferTable.TransferId, ShipDataArea = InventTransferTable.dataAreaId

    Many ITMLine records → zero or one InventTransferTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    One or more ITMLine records → exactly one InventTransOrigin record

  • PurchLine → PurchLine

    Join on ShipDataArea = PurchLine.dataAreaId, RefTableId = PurchLine.TableId, RefRecId = PurchLine.RecId

    Zero or one ITMLine record → zero or one PurchLine record

  • PurchTable → PurchTable

    Join on TransType = InventTransType::Purch, TransRefId = PurchTable.PurchId, ShipDataArea = PurchTable.dataAreaId

    Many ITMLine records → zero or one PurchTable record

  • PurchTablePurchId → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many ITMLine records → zero or one PurchTable record

  • ITMContainerActivityTable → ITMContainerActivityTable

    Join on ShipId = ITMContainerActivityTable.ShipId, ShipContainerId = ITMContainerActivityTable.ShipContainerId

    Many ITMLine records → zero or one ITMContainerActivityTable record

  • ITMContainers → ITMContainers

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

    Many ITMLine records → zero or one ITMContainers record

  • ITMContainerTable → ITMContainerTable

    Join on ShipContainerId = ITMContainerTable.ShipContainerId

    Many ITMLine records → exactly one ITMContainerTable record

  • ITMFolioTable → ITMFolioTable

    Join on ShipFolioId = ITMFolioTable.ShipFolioId, ShipDataArea = ITMFolioTable.ShipDataArea

    Many ITMLine records → zero or one ITMFolioTable record

  • ITMTable → ITMTable

    Join on ShipId = ITMTable.ShipId

    One or more ITMLine records → exactly one ITMTable record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many ITMLine records → exactly one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk