Table

ITMCostEstimateTable

Cost estimates

Header records for voyage cost estimates. Each estimate has a number, date, currency, ports, journey template, cost template, site and estimated landed cost. It can refer to a purchase order, request for quotation, sales order or sales quotation. The key is the cost estimate number.

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

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CostEstimateIdUnique number of the cost estimate.String (20)
ITMCostEstimateId
YesNone
CostTemplateIdCost template used for the estimate.String (20)
ITMCostTemplateId
YesITMCostTemplateTable.CostTemplateIdNone
CurrencyCodeCurrency of the estimate, 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
EstimateDateDate of the estimate.Date
ITMCostEstimateDate
YesNone
ExchRateExchange rate used for the estimate.Real
ExchRate
NoNone
FromPortPort the shipment leaves from.String (20)
ITMFromPort
YesITMPortTable.ShipPortIdNone
InventSiteIdSite linked to the estimate.String
InventSiteId
NoInventSite.SiteIdNone
JourneyIdJourney template used for the estimate.String (15)
ITMJourneyId
YesITMJourneyTable.JourneyIdNone
LandedCostEstimated landed cost of the estimate.Real
ITMEstimatedLandedCost
NoNone
LockedYes or No flag showing whether the estimate is locked.Enum
NoYes (enum)
NoNone
MeasurementMeasurement value of the estimate.Real
ITMMeasurement
NoNone
NoOfContainersNumber of shipping containers.Integer
ITMNumberOfContainers
YesNone
NoOfFoliosNumber of folios.Integer
ITMNumberOfFolios
YesNone
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
RefTypeType of document the estimate refers to: none, purchase order, request for quotation, sales order or sales quotation.Enum
ITMCostEstimateRefType (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
ToPortPort the shipment goes to.String (20)
ITMToPort
YesITMPortTable.ShipPortIdNone
TouchedYes or No flag; the exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
TransRefIdNumber of the referenced purchase order, request for quotation or sales quotation.String (20)
InventTransRefId
NoPurchRFQTable.RFQIdPurchTable.PurchIdSalesQuotationTable.QuotationIdSalesTable.SalesIdNone

Indexes (1)

  • CostEstimateIdxPrimary indexReplacement key

    CostEstimateId

    Unique, alternate key.

Relations (10)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more ITMCostEstimateTable records → exactly one Currency record

  • FromPort → ITMPortTable

    Join on FromPort = ITMPortTable.ShipPortId

    One or more ITMCostEstimateTable records → exactly one ITMPortTable record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many ITMCostEstimateTable records → exactly one InventSite record

  • PurchRFQTable → PurchRFQTable

    Join on RefType = ITMCostEstimateRefType::PurchRFQ, TransRefId = PurchRFQTable.RFQId

    Many ITMCostEstimateTable records → zero or one PurchRFQTable record

  • PurchTable → PurchTable

    Join on RefType = ITMCostEstimateRefType::Purch, TransRefId = PurchTable.PurchId

    Many ITMCostEstimateTable records → zero or one PurchTable record

  • ITMCostTemplateTable → ITMCostTemplateTable

    Join on CostTemplateId = ITMCostTemplateTable.CostTemplateId

    One or more ITMCostEstimateTable records → exactly one ITMCostTemplateTable record

  • ITMJourneyTable → ITMJourneyTable

    Join on JourneyId = ITMJourneyTable.JourneyId

    One or more ITMCostEstimateTable records → exactly one ITMJourneyTable record

  • SalesQuotationTable → SalesQuotationTable

    Join on RefType = ITMCostEstimateRefType::SalesQuote, TransRefId = SalesQuotationTable.QuotationId

    Many ITMCostEstimateTable records → zero or one SalesQuotationTable record

  • SalesTable → SalesTable

    Join on RefType = ITMCostEstimateRefType::Sales, TransRefId = SalesTable.SalesId

    Many ITMCostEstimateTable records → zero or one SalesTable record

  • ToPort → ITMPortTable

    Join on ToPort = ITMPortTable.ShipPortId

    One or more ITMCostEstimateTable records → exactly one ITMPortTable record

Get this data out

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

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

Email sales@drdynamics.co.uk