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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PriceCalcIdUnique number of the calculation. | String (20)PriceCalcId | Yes | None | |
BOMCalcTypeWhether the calculation is for an order or a version. | EnumBOMCalcType (enum) | No | None | |
BOMIdThe bill of materials that was calculated, pointing to BOMTable. | String (20)BOMId | No | BOMTable.BOMId | None |
CostCalculationMethodWhere the cost rollup takes its cost from: production order, production flow or purchase cost. It can also be unknown. | EnumBOMCostCalculationMethod (enum) | No | None | |
CostMarkupCharges added to the cost amount. Currency not stated in the metadata. | RealBOMCalcCostMarkup | No | None | |
CostMarkupSecCur_RUPrice charges in a secondary currency, used for Russia. Currency not stated in the metadata.low confidence | RealInventPriceMarkupSecCur_RU | No | None | |
CostPriceCost amount of the calculation. Currency not stated in the metadata. | RealCostAmount | No | None | |
CostPriceSecCur_RUSecondary cost amount, used for Russia. Currency not stated in the metadata.low confidence | RealCostPriceSecCur_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension combination, pointing to InventDim. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem that was calculated, pointing to InventTable. | String (20)ItemId | Yes | InventTable.ItemId | None |
LeanProductionFlowReferenceProduction flow reference, pointing to LeanProductionFlowReference. | Int64RefRecId | No | LeanProductionFlowReference.RecId | None |
NetWeightNet weight of the item. | RealItemNetWeight | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PmfBomVersionReference to a BOM version, pointing to BOMVersion. | Int64PmfBOMVersionRefRecId | No | BOMVersion.RecId | None |
PmfParentCalcIdCalculation number of the parent formula calculation, pointing to BOMCalcTable. | String (20)PmfPriceCalcId | No | BOMCalcTable.PriceCalcId | None |
ProfitSetProfit setting used: standard or one of three profit levels. | EnumCostProfitSet (enum) | No | None | |
QtyQuantity that was calculated. | RealInventQty | 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 | |
RouteIdRoute used in the calculation, pointing to RouteTable. | String (20)RouteId | No | RouteTable.RouteId | None |
SalesMarkupCharges added to the sales amount. Currency not stated in the metadata. | RealBOMCalcSalesMarkup | No | None | |
SalesPriceSales amount of the calculation. Currency not stated in the metadata. | RealSalesAmount | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem counter for the version of the row. | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the calculation. | DateTransDate | No | None | |
UnitIdUnit of measure, pointing to UnitOfMeasure. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
Indexes (2)
NumIdxPrimary indexUnique, alternate key.
LeanProductionFlowReferenceIdxNot unique.
Relations (11)
Each relation joins BOMCalcTable to another table on the fields shown.
BOMCalcTable→BOMCalcTableJoin on
PmfParentCalcId = BOMCalcTable.PriceCalcIdMany BOMCalcTable records → exactly one BOMCalcTable record
BOMTable→BOMTableJoin on
BOMId = BOMTable.BOMIdMany BOMCalcTable records → zero or one BOMTable record
BOMVersion→BOMVersionJoin on
PmfBomVersion = BOMVersion.RecIdMany BOMCalcTable records → zero or one BOMVersion record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany BOMCalcTable records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany BOMCalcTable records → exactly one InventTable record
LeanProductionFlowReference→LeanProductionFlowReferenceJoin on
LeanProductionFlowReference = LeanProductionFlowReference.RecIdMany BOMCalcTable records → zero or one LeanProductionFlowReference record
RouteTable→RouteTableJoin on
RouteId = RouteTable.RouteIdMany BOMCalcTable records → zero or one RouteTable record
SalesLine→SalesLineJoin on
ItemId = SalesLine.ItemIdMany BOMCalcTable records → zero or one SalesLine record
SalesQuotationLine→SalesQuotationLineJoin on
ItemId = SalesQuotationLine.ItemIdMany BOMCalcTable records → zero or one SalesQuotationLine record
SMAServiceOrderLine→SMAServiceOrderLineJoin on
ItemId = SMAServiceOrderLine.ItemIdMany BOMCalcTable records → zero or one SMAServiceOrderLine record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany 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.