Table

ITMCostAllocateTrans

Voyage cost allocation transactions

Records allocations of voyage costs to purchase order lines. Each row has an amount, date, currency and exchange rate, and shows whether it is estimated or reversed. It links to voyage cost invoice transactions and to transfer order lines.

Table name
ITMCostAllocateTrans
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
InvoicePurchIdx
Replacement key
InvoicePurchIdx
Key fields
PurchRefTableId, PurchLineRefRecId, RefRecId, RefTableId
Model
InboundTransportationManagement

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchRefTableIdTable ID of the referenced line.Integer
RefTableId
YesNone
PurchLineRefRecIdSystem record ID of the referenced line.Int64
RefRecId
NoNone
RefRecIdSystem record ID of the related voyage cost invoice transaction.Int64
RefRecId
NoNone
RefTableIdTable ID of the related voyage cost invoice transaction.Integer
RefTableId
NoNone
AllocatedAmountAmount allocated.Real
Amount
NoNone
AllocatedDateDate of the allocation.Date
TransDate
NoNone
CurrencyCodeCurrency of the allocation, pointing to the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EstimatedYes or No flag showing whether the allocation is an estimate.Enum
NoYes (enum)
NoNone
ExchRateExchange rate used for the allocation.Real
ExchRate
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchLineDataAreaCompany of the referenced line.String
DataAreaId
YesNone
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
ReversedYes or No flag showing whether the allocation is reversed.Enum
NoYes (enum)
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

Indexes (2)

Relations (6)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many ITMCostAllocateTrans records → exactly one Currency record

  • DataArea → DataArea

    Join on PurchLineDataArea = DataArea.id

    Many ITMCostAllocateTrans records → exactly one DataArea record

  • InventTransferLine → InventTransferLine

    Join on PurchRefTableId = InventTransferLine.TableId, PurchLineRefRecId = InventTransferLine.RecId, PurchLineDataArea = InventTransferLine.dataAreaId

    Many ITMCostAllocateTrans records → zero or one InventTransferLine record

  • PurchLine → PurchLine

    Join on PurchRefTableId = PurchLine.TableId, PurchLineRefRecId = PurchLine.RecId, PurchLineDataArea = PurchLine.dataAreaId

    Many ITMCostAllocateTrans records → zero or one PurchLine record

  • ITMCostInvoiceTrans → ITMCostInvoiceTrans

    Join on RefRecId = ITMCostInvoiceTrans.RecId, RefTableId = ITMCostInvoiceTrans.TableId

    Many ITMCostAllocateTrans records → zero or one ITMCostInvoiceTrans record

  • ITMCostTrans → ITMCostTrans

    Join on RefRecId = ITMCostTrans.RecId, RefTableId = ITMCostTrans.TableId

    Many ITMCostAllocateTrans records → zero or one ITMCostTrans record

Get this data out

No public entity reads from ITMCostAllocateTrans. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk