Table

ITMCostAutoLine

Auto cost lines

Lines of an automatic cost setup for voyage costs. Each line defines a cost type, how the cost is apportioned, its category, value, currency and validity dates. Lines belong to an auto cost header record.

Table name
ITMCostAutoLine
Module
Cross-module and platform
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
TableIdx
Replacement key
TableIdx
Key fields
RefTableId, RefRecId, LineNum
Model
InboundTransportationManagement

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableIdTable ID of the auto cost header.Integer
RefTableId
NoNone
RefRecIdSystem record ID of the auto cost header.Int64
RefRecId
NoNone
LineNumLine number that orders the lines.Real
LineNum
NoNone
AdjustmentAmountAmount used to adjust the cost.Real
ITMCostAdjustmentAmount
NoNone
AggregatedCostYes or No flag to move the cost from container level to voyage level.Enum
ITMAggregatedCost
NoYes (enum)
NoNone
ApportionmentMethodMethod used to share the cost, such as percent, quantity, amount, volume or weight.Enum
ITMCostApportionmentMethod (enum)
NoNone
BrokenByQuantityYes or No flag showing whether the cost can vary by quantity breaks.Enum
ITMCostBrokenByQuantity
NoYes (enum)
NoNone
CostAreaLevel the cost applies to, such as voyage, container, purchase order or item.Enum
ITMCostArea (enum)
NoNone
CostValueValue of the cost.Real
ITMCostValue
NoNone
CurrencyCodeCurrency of the line, 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
FromDateStart date from which the line applies.Date
FromDate
NoNone
LinkCostTypeIdCost type that is linked to this line.String (20)
ITMCostTypeId
NoITMCostTypeTable.ITMCostTypeIdNone
MinCostAmountMinimum cost amount.Real
ITMMinCostAmount
NoNone
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
ShipCostCategoryCategory of the cost, such as fixed, pieces, percent, rate or volumetric.Enum
ITMCostCategory (enum)
NoNone
ShipCostCurrencyCodeCurrency code of the cost.String (3)
ITMCostCurrencyCode
YesCurrency.CurrencyCodeNone
ShipCostTypeIdCode of the cost type the line applies to.String (20)
ITMCostTypeId
YesITMCostTypeTable.ITMCostTypeIdNone
ShipRentalYes or No flag showing whether the container is a rental that must be returned.Enum
ITMRental
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
TaxItemGroupItem sales tax group, pointing to the item sales tax group table.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
ToDateEnd date until which the line applies.Date
ToDate
NoNone
ValueAdjustmentMethodHow the value is adjusted: adjust by or use.Enum
ITMCostValueAdjustment (enum)
NoNone

Indexes (1)

Relations (6)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more ITMCostAutoLine records → exactly one Currency record

  • LinkCostTypeId → ITMCostTypeTable

    Join on LinkCostTypeId = ITMCostTypeTable.ITMCostTypeId

    Many ITMCostAutoLine records → exactly one ITMCostTypeTable record

  • ITMCostAutoTable → ITMCostAutoTable

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

    Many ITMCostAutoLine records → exactly one ITMCostAutoTable record

  • ITMCostTypeTable → ITMCostTypeTable

    Join on ShipCostTypeId = ITMCostTypeTable.ITMCostTypeId

    One or more ITMCostAutoLine records → exactly one ITMCostTypeTable record

  • ShipCostCurrencyCode → Currency

    Join on ShipCostCurrencyCode = Currency.CurrencyCode

    One or more ITMCostAutoLine records → exactly one Currency record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many ITMCostAutoLine records → exactly one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk