Table

ITMCostTemplateTable

Cost templates

Cost templates for voyage costs. Each template has a code, description and factor, and can name a shipping company, customs broker, container type and mode of delivery. The key is the cost template code.

Table name
ITMCostTemplateTable
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
CostTemplateIdx
Replacement key
CostTemplateIdx
Key fields
CostTemplateId
Model
InboundTransportationManagement

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostTemplateIdCode that identifies the cost template.String (20)
ITMCostTemplateId
YesNone
ContainerTypeIdShipping container type, pointing to the container type table.String (20)
ITMContainerTypeId
NoITMContainerTypeTable.ShipContainerTypeIdNone
CustomsBrokerVendor account of the customs broker.String (20)
ITMCustomsBroker
NoVendTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionText that describes the template.String (60)
Description
NoNone
DlvModeIdMode of delivery, pointing to the delivery mode table.String
DlvModeId
NoDlvMode.CodeNone
FactorFactor value of the template; its use is not stated in the metadata.low confidenceReal
ITMCostTemplateFactor
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
ShipVendAccountVendor account of the shipping company.String (20)
ITMVendAccount
NoVendTable.AccountNumNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • CostTemplateIdxPrimary indexReplacement key

    CostTemplateId

    Unique, alternate key.

Relations (4)

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

  • CustomsBroker → VendTable

    Join on CustomsBroker = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::CustomsBroker

    Many ITMCostTemplateTable records → exactly one VendTable record

  • DlvMode → DlvMode

    Join on DlvModeId = DlvMode.Code

    Many ITMCostTemplateTable records → exactly one DlvMode record

  • ITMContainerTypeTable → ITMContainerTypeTable

    Join on ContainerTypeId = ITMContainerTypeTable.ShipContainerTypeId

    Many ITMCostTemplateTable records → exactly one ITMContainerTypeTable record

  • ShipVendAccount → VendTable

    Join on ShipVendAccount = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::ShipVend

    Many ITMCostTemplateTable records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk