Table

BOMCalcTable

Calculation

Holds the header of a BOM calculation, identified by the calculation number. It can be for an order or a version. It links to the BOM, item, route, inventory dimensions and unit, and can point to a parent calculation. It stores cost and sales amounts and charges.

Table name
BOMCalcTable
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
BOM
Primary index
NumIdx
Replacement key
None
Key fields
PriceCalcId
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PriceCalcIdUnique number of the calculation.String (20)
PriceCalcId
YesNone
BOMCalcTypeWhether the calculation is for an order or a version.Enum
BOMCalcType (enum)
NoNone
BOMIdThe bill of materials that was calculated, pointing to BOMTable.String (20)
BOMId
NoBOMTable.BOMIdNone
CostCalculationMethodWhere the cost rollup takes its cost from: production order, production flow or purchase cost. It can also be unknown.Enum
BOMCostCalculationMethod (enum)
NoNone
CostMarkupCharges added to the cost amount. Currency not stated in the metadata.Real
BOMCalcCostMarkup
NoNone
CostMarkupSecCur_RUPrice charges in a secondary currency, used for Russia. Currency not stated in the metadata.low confidenceReal
InventPriceMarkupSecCur_RU
NoNone
CostPriceCost amount of the calculation. Currency not stated in the metadata.Real
CostAmount
NoNone
CostPriceSecCur_RUSecondary cost amount, used for Russia. Currency not stated in the metadata.low confidenceReal
CostPriceSecCur_RU
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension combination, pointing to InventDim.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdItem that was calculated, pointing to InventTable.String (20)
ItemId
YesInventTable.ItemIdNone
LeanProductionFlowReferenceProduction flow reference, pointing to LeanProductionFlowReference.Int64
RefRecId
NoLeanProductionFlowReference.RecIdNone
NetWeightNet weight of the item.Real
ItemNetWeight
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PmfBomVersionReference to a BOM version, pointing to BOMVersion.Int64
PmfBOMVersionRefRecId
NoBOMVersion.RecIdNone
PmfParentCalcIdCalculation number of the parent formula calculation, pointing to BOMCalcTable.String (20)
PmfPriceCalcId
NoBOMCalcTable.PriceCalcIdNone
ProfitSetProfit setting used: standard or one of three profit levels.Enum
CostProfitSet (enum)
NoNone
QtyQuantity that was calculated.Real
InventQty
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
RouteIdRoute used in the calculation, pointing to RouteTable.String (20)
RouteId
NoRouteTable.RouteIdNone
SalesMarkupCharges added to the sales amount. Currency not stated in the metadata.Real
BOMCalcSalesMarkup
NoNone
SalesPriceSales amount of the calculation. Currency not stated in the metadata.Real
SalesAmount
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberSystem counter for the version of the row.Int64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the calculation.Date
TransDate
NoNone
UnitIdUnit of measure, pointing to UnitOfMeasure.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone

Indexes (2)

Relations (11)

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

  • BOMCalcTable → BOMCalcTable

    Join on PmfParentCalcId = BOMCalcTable.PriceCalcId

    Many BOMCalcTable records → exactly one BOMCalcTable record

  • BOMTable → BOMTable

    Join on BOMId = BOMTable.BOMId

    Many BOMCalcTable records → zero or one BOMTable record

  • BOMVersion → BOMVersion

    Join on PmfBomVersion = BOMVersion.RecId

    Many BOMCalcTable records → zero or one BOMVersion record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many BOMCalcTable records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many BOMCalcTable records → exactly one InventTable record

  • LeanProductionFlowReference → LeanProductionFlowReference

    Join on LeanProductionFlowReference = LeanProductionFlowReference.RecId

    Many BOMCalcTable records → zero or one LeanProductionFlowReference record

  • RouteTable → RouteTable

    Join on RouteId = RouteTable.RouteId

    Many BOMCalcTable records → zero or one RouteTable record

  • SalesLine → SalesLine

    Join on ItemId = SalesLine.ItemId

    Many BOMCalcTable records → zero or one SalesLine record

  • SalesQuotationLine → SalesQuotationLine

    Join on ItemId = SalesQuotationLine.ItemId

    Many BOMCalcTable records → zero or one SalesQuotationLine record

  • SMAServiceOrderLine → SMAServiceOrderLine

    Join on ItemId = SMAServiceOrderLine.ItemId

    Many BOMCalcTable records → zero or one SMAServiceOrderLine record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many BOMCalcTable records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk