Table

ITMCostAutoTable

Auto costs

Holds automatic cost rules. Each rule has an ID and a cost area, such as voyage, container, folio, purchase order, item or transfer order line. Its other fields narrow the rule by vendor, item, ports, container type, delivery mode, warehouse and dimensions.

Table name
ITMCostAutoTable
Module
Cross-module and platform
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
CostAutoIdx
Replacement key
CostAutoIdx
Key fields
CostAutoId
Model
InboundTransportationManagement

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostAutoIdUnique number of the automatic cost rule.String (20)
ITMCostAutoId
YesITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 3 more
AccountCodeWhether the rule applies to one vendor, a vendor group or all vendors.Enum
ITMCostAccountCode
TableGroupAll (enum)
NoITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 2 more
AccountRelationThe vendor account or group the rule applies to.String (20)
CustVendRel
NoVendTable.AccountNumITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 2 more
CostAreaThe area the cost rule applies to: voyage, container, folio, purchase order, item or transfer order line.Enum
ITMCostArea (enum)
NoITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 3 more
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DlvModeIdThe mode of delivery the rule applies to.String
DlvModeId
NoDlvMode.CodeITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity
InventDimIdLink to the inventory dimensions used by the rule.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemCodeWhether the rule applies to one item, an item group or all items.Enum
ITMCostItemCode
TableGroupAll (enum)
NoITMItemAutoCostHeaderEntityITMTransferOrderLineAutoCostHeaderEntity
ItemRelationThe item or transfer order cost group the rule applies to.String (20)
ItemRelation
NoITMCostTransferGroup.GroupIdInventTable.ItemIdITMItemAutoCostHeaderEntityITMTransferOrderLineAutoCostHeaderEntity
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
ShipContainerTypeIdThe shipping container type the rule applies to.String (20)
ITMContainerTypeId
NoITMContainerTypeTable.ShipContainerTypeIdITMShippingContainerAutoCostHeaderEntity
ShipFromPortThe from port the rule applies to.String (20)
ITMFromPort
NoITMPortTable.ShipPortIdITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity
ShipToPortThe to port the rule applies to.String (20)
ITMToPort
NoITMPortTable.ShipPortIdITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity
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
ToInventLocationIdThe destination warehouse the rule applies to.String
InventLocationId
NoInventLocation.InventLocationIdITMTransferOrderLineAutoCostHeaderEntity

Indexes (2)

Relations (15)

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

  • DlvMode → DlvMode

    Join on DlvModeId = DlvMode.Code

    Many ITMCostAutoTable records → exactly one DlvMode record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ITMCostAutoTable records → exactly one InventDim record

  • InventGroup → ITMCostTypeGroup

    Join on ITMCostTypeGroup.ModuleType = ModuleInventCustVend::Invent, CostArea = ITMCostArea::Item, ItemCode = TableGroupAll::GroupId, ItemRelation = ITMCostTypeGroup.ITMCostTypeGroupId

    Many ITMCostAutoTable records → zero or one ITMCostTypeGroup record

  • InventLocation → InventLocation

    Join on ToInventLocationId = InventLocation.InventLocationId

    Many ITMCostAutoTable records → zero or one InventLocation record

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many ITMCostAutoTable records → zero or one InventTable record

  • ITMContainerTypeTable → ITMContainerTypeTable

    Join on ShipContainerTypeId = ITMContainerTypeTable.ShipContainerTypeId

    Many ITMCostAutoTable records → exactly one ITMContainerTypeTable record

  • ITMCostTransferGroup → ITMCostTransferGroup

    Join on CostArea = ITMCostArea::TransferOrderLine, ItemCode = TableGroupAll::GroupId, ItemRelation = ITMCostTransferGroup.GroupId

    Many ITMCostAutoTable records → zero or one ITMCostTransferGroup record

  • ShipFromPort → ITMPortTable

    Join on ShipFromPort = ITMPortTable.ShipPortId

    Many ITMCostAutoTable records → exactly one ITMPortTable record

  • ShipToPort → ITMPortTable

    Join on ShipToPort = ITMPortTable.ShipPortId

    Many ITMCostAutoTable records → exactly one ITMPortTable record

  • VendGroup → ITMCostTypeGroup

    Join on ITMCostTypeGroup.ModuleType = ModuleInventCustVend::Vend, AccountCode = TableGroupAll::GroupId, AccountRelation = ITMCostTypeGroup.ITMCostTypeGroupId

    Many ITMCostAutoTable records → zero or one ITMCostTypeGroup record

  • VendTableContainer → VendTable

    Join on VendTable.ITMVendType = ITMVendType::ShipVend, CostArea = ITMCostArea::Container, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many ITMCostAutoTable records → zero or one VendTable record

  • VendTableFolio → VendTable

    Join on VendTable.ITMVendType = ITMVendType::CustomsBroker, CostArea = ITMCostArea::Folio, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many ITMCostAutoTable records → zero or one VendTable record

  • VendTableLine → VendTable

    Join on CostArea = ITMCostArea::Item, VendTable.ITMVendType = ITMVendType::None, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many ITMCostAutoTable records → zero or one VendTable record

  • VendTablePurch → VendTable

    Join on VendTable.ITMVendType = ITMVendType::None, CostArea = ITMCostArea::PurchOrder, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many ITMCostAutoTable records → zero or one VendTable record

  • VendTableShip → VendTable

    Join on VendTable.ITMVendType = ITMVendType::ShipVend, CostArea = ITMCostArea::Shipment, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many ITMCostAutoTable records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk