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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostAutoIdUnique number of the automatic cost rule. | String (20)ITMCostAutoId | Yes | ITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 3 more | |
AccountCodeWhether the rule applies to one vendor, a vendor group or all vendors. | EnumITMCostAccountCodeTableGroupAll (enum) | No | ITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 2 more | |
AccountRelationThe vendor account or group the rule applies to. | String (20)CustVendRel | No | VendTable.AccountNum | ITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 2 more |
CostAreaThe area the cost rule applies to: voyage, container, folio, purchase order, item or transfer order line. | EnumITMCostArea (enum) | No | ITMFolioAutoCostHeaderEntityITMItemAutoCostHeaderEntityITMPurchaseOrderAutoCostHeaderEntityand 3 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DlvModeIdThe mode of delivery the rule applies to. | StringDlvModeId | No | DlvMode.Code | ITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity |
InventDimIdLink to the inventory dimensions used by the rule. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemCodeWhether the rule applies to one item, an item group or all items. | EnumITMCostItemCodeTableGroupAll (enum) | No | ITMItemAutoCostHeaderEntityITMTransferOrderLineAutoCostHeaderEntity | |
ItemRelationThe item or transfer order cost group the rule applies to. | String (20)ItemRelation | No | ITMCostTransferGroup.GroupIdInventTable.ItemId | ITMItemAutoCostHeaderEntityITMTransferOrderLineAutoCostHeaderEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ShipContainerTypeIdThe shipping container type the rule applies to. | String (20)ITMContainerTypeId | No | ITMContainerTypeTable.ShipContainerTypeId | ITMShippingContainerAutoCostHeaderEntity |
ShipFromPortThe from port the rule applies to. | String (20)ITMFromPort | No | ITMPortTable.ShipPortId | ITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity |
ShipToPortThe to port the rule applies to. | String (20)ITMToPort | No | ITMPortTable.ShipPortId | ITMFolioAutoCostHeaderEntityITMShippingContainerAutoCostHeaderEntityITMVoyageAutoCostHeaderEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToInventLocationIdThe destination warehouse the rule applies to. | StringInventLocationId | No | InventLocation.InventLocationId | ITMTransferOrderLineAutoCostHeaderEntity |
Indexes (2)
CostIdxCostArea,AccountCode,AccountRelation,DlvModeId,ShipFromPort,ShipToPort,InventDimId,ItemCode,ItemRelation,ShipContainerTypeId,ToInventLocationIdUnique.
CostAutoIdxPrimary indexReplacement keyUnique, alternate key.
Relations (15)
Each relation joins ITMCostAutoTable to another table on the fields shown.
DlvMode→DlvModeJoin on
DlvModeId = DlvMode.CodeMany ITMCostAutoTable records → exactly one DlvMode record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany ITMCostAutoTable records → exactly one InventDim record
InventGroup→ITMCostTypeGroupJoin on
ITMCostTypeGroup.ModuleType = ModuleInventCustVend::Invent,CostArea = ITMCostArea::Item,ItemCode = TableGroupAll::GroupId,ItemRelation = ITMCostTypeGroup.ITMCostTypeGroupIdMany ITMCostAutoTable records → zero or one ITMCostTypeGroup record
InventLocation→InventLocationJoin on
ToInventLocationId = InventLocation.InventLocationIdMany ITMCostAutoTable records → zero or one InventLocation record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany ITMCostAutoTable records → zero or one InventTable record
ITMContainerTypeTable→ITMContainerTypeTableJoin on
ShipContainerTypeId = ITMContainerTypeTable.ShipContainerTypeIdMany ITMCostAutoTable records → exactly one ITMContainerTypeTable record
ITMCostTransferGroup→ITMCostTransferGroupJoin on
CostArea = ITMCostArea::TransferOrderLine,ItemCode = TableGroupAll::GroupId,ItemRelation = ITMCostTransferGroup.GroupIdMany ITMCostAutoTable records → zero or one ITMCostTransferGroup record
ShipFromPort→ITMPortTableJoin on
ShipFromPort = ITMPortTable.ShipPortIdMany ITMCostAutoTable records → exactly one ITMPortTable record
ShipToPort→ITMPortTableJoin on
ShipToPort = ITMPortTable.ShipPortIdMany ITMCostAutoTable records → exactly one ITMPortTable record
VendGroup→ITMCostTypeGroupJoin on
ITMCostTypeGroup.ModuleType = ModuleInventCustVend::Vend,AccountCode = TableGroupAll::GroupId,AccountRelation = ITMCostTypeGroup.ITMCostTypeGroupIdMany ITMCostAutoTable records → zero or one ITMCostTypeGroup record
VendTableContainer→VendTableJoin on
VendTable.ITMVendType = ITMVendType::ShipVend,CostArea = ITMCostArea::Container,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany ITMCostAutoTable records → zero or one VendTable record
VendTableFolio→VendTableJoin on
VendTable.ITMVendType = ITMVendType::CustomsBroker,CostArea = ITMCostArea::Folio,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany ITMCostAutoTable records → zero or one VendTable record
VendTableLine→VendTableJoin on
CostArea = ITMCostArea::Item,VendTable.ITMVendType = ITMVendType::None,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany ITMCostAutoTable records → zero or one VendTable record
VendTablePurch→VendTableJoin on
VendTable.ITMVendType = ITMVendType::None,CostArea = ITMCostArea::PurchOrder,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany ITMCostAutoTable records → zero or one VendTable record
VendTableShip→VendTableJoin on
VendTable.ITMVendType = ITMVendType::ShipVend,CostArea = ITMCostArea::Shipment,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany 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.
ITMFolioAutoCostHeaderEntity· 7 fields from this tableITMItemAutoCostHeaderEntity· 6 fields from this tableITMPurchaseOrderAutoCostHeaderEntity· 4 fields from this tableITMShippingContainerAutoCostHeaderEntity· 8 fields from this tableITMTransferOrderLineAutoCostHeaderEntity· 5 fields from this tableITMVoyageAutoCostHeaderEntity· 7 fields from this table
Need help with ITMCostAutoTable in a report, an integration or a migration? Talk to Dr Dynamics.