Table
ProdCalcTrans
Calculation
Holds calculation transactions for production orders, one line per calculated cost or sales element. Lines are identified by production order number, level, line number and record ID. They store estimated and actual quantities and costs, cost groups, and the price models used. They link to items, resources, operations and vendors.
- Table name
ProdCalcTrans- Module
Production control- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Prod- Primary index
RefNumIdx- Replacement key
None- Key fields
CollectRefProdId, CollectRefLevel, LineNum, RecId- Model
Foundation
Fields (48)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CollectRefProdIdNumber of the production order that the calculation is collected under. | String (35)CostTransRefId | Yes | ProdTable.CollectRefProdId | ProdCalcTransBiEntity |
CollectRefLevelLevel in the collected production order structure. | IntegerProdCollectRefLevel | No | ProdCalcTransBiEntity | |
LineNumLine number that sorts the lines. | RealLineNum | No | ProdCalcTransBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ProdCalcTransBiEntity | |
BOMShows whether the line is for BOM consumption. | EnumBOMCalcBOMConsumptionNoYes (enum) | No | ProdCalcTransBiEntity | |
CalcGroupIdCalculation group of the line. | StringBOMCalcGroupId | No | BOMCalcGroup.CalcGroupId | ProdCalcTransBiEntity |
CalcTypeType of calculation line, such as item, BOM, setup, process or surcharge. | EnumItemCalcType (enum) | No | ProdCalcTransBiEntity | |
ConsumpConstantConstant part of consumption. | RealBOMCalcConsumptionConstant | No | ProdCalcTransBiEntity | |
ConsumpTypeShows whether consumption is variable or constant. | EnumBOMConsumpType (enum) | No | ProdCalcTransBiEntity | |
ConsumpVariableVariable part of consumption. | RealBOMCalcConsumptionVariable | No | ProdCalcTransBiEntity | |
CostAmountEstimated cost amount of the line. | RealCostAmountNonMonetary | No | ProdCalcTransBiEntity | |
CostGroupIdCost group of the line. | StringCostGroupId | No | BOMCostGroup.CostGroupId | ProdCalcTransBiEntity |
CostMarkupCost amount added as charges. | RealBOMCalcCostMarkup | No | ProdCalcTransBiEntity | |
CostPriceModelUsedModel used to find the cost price, such as item cost price or trade agreement. | EnumBOMCalcCostPriceUsed (enum) | No | ProdCalcTransBiEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ProdCalcTransBiEntity | |
DerivedReferenceType of the referenced document, such as sales order or production. | EnumInventRefType (enum) | No | ProdCalcTransBiEntity | |
DerivedRefNumNumber of the referenced document. | String (20)InventRefId | No | ProdCalcTransBiEntity | |
FinancialIndirectAmount_RUIndirect cost amount, used for Russia. | RealProdFinancialIndirectAmount_RU | No | ProdCalcTransBiEntity | |
IdRefRecIdSystem record ID of the record the line refers to. | Int64ProdCalcTransRefRecId | Yes | ProdCalcTransBiEntity | |
IdRefTableIdID of the table that the referenced record is in. | IntegerProdCalcTransRefTableId | Yes | ProdCalcTransBiEntity | |
InventDimIdPoints to the inventory dimensions for the line. | String (20)InventDimId | No | InventDim.inventDimId | ProdCalcTransBiEntity |
InventDimStrText showing the inventory dimensions of the line. | String (20)BOMCalcInventDimStr | No | ProdCalcTransBiEntity | |
OprIdRoute operation of the line. | StringRouteOprId | No | RouteOprTable.OprId | ProdCalcTransBiEntity |
OprNumNumber of the route operation of the line. | IntegerOprNum | No | ProdCalcTransBiEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PmfCostAllocationMethod used to allocate cost to a co-product: none, manual or TCA. | EnumPmfCostAllocationMethod (enum) | No | ProdCalcTransBiEntity | |
PmfCostAllocationPctPercentage of cost allocated to the co-product. | RealPmfCostAllocationPct | No | ProdCalcTransBiEntity | |
PmfOverheadAmtBurden amount for the by-product. | RealPmfOverheadAmt | No | ProdCalcTransBiEntity | |
PmfOverheadPctBurden percentage for the by-product. | RealPmfOverheadPct | No | ProdCalcTransBiEntity | |
PriceDiscQtyQuantity used for price and discount.low confidence | RealBOMCalcPriceDiscQty | No | ProdCalcTransBiEntity | |
ProductionShows whether the line is for production. | EnumNoYes (enum) | No | ProdCalcTransBiEntity | |
QtyEstimated quantity in inventory units. | RealInventQty | No | ProdCalcTransBiEntity | |
RealConsumpActual consumption quantity. | RealCostQuantity | No | ProdCalcTransBiEntity | |
RealCostAdjustmentAdjustment to the actual cost. | RealCostAmountNonMonetary | No | ProdCalcTransBiEntity | |
RealCostAmountActual cost amount of the line. | RealCostAmountNonMonetary | No | ProdCalcTransBiEntity | |
RealQtyActual quantity of the line. | RealCostQuantity | No | ProdCalcTransBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | ProdCalcTransBiEntity | |
ResourceItem or resource that the line is for. | String (30)BOMCalcResource | No | InventTable.ItemIdWrkCtrTable.WrkCtrId | ProdCalcTransBiEntity |
SalesAmountSales amount of the line, in accounting currency. | RealAmountMST | No | ProdCalcTransBiEntity | |
SalesMarkupSales amount added as charges. | RealBOMCalcSalesMarkup | No | ProdCalcTransBiEntity | |
SalesPriceModelUsedModel used to find the sales price: none, cost group or item sales price. | EnumBOMCalcSalesPriceUsed (enum) | No | ProdCalcTransBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | ProdCalcTransBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the calculation transaction. | DateTransDate | No | ProdCalcTransBiEntity | |
TransRefIdReference number of the plan the transaction belongs to. | String (35)CostTransRefId | Yes | PlanReference.PlanName | ProdCalcTransBiEntity |
TransRefTypeKind of reference, such as production order, production flow or lot ID. | EnumProdTransRefType (enum) | No | ProdCalcTransBiEntity | |
UnitIdUnit of measure of the line. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | ProdCalcTransBiEntity |
VendIdVendor account linked to the line. | String (20)VendAccount | No | VendTable.AccountNum | ProdCalcTransBiEntity |
Indexes (3)
RefNumIdxPrimary indexCollectRefProdId,CollectRefLevel,LineNum,RecIdUnique.
IdRefIdxIdRefTableId,IdRefRecId,CalcType,RecIdUnique.
ProdCollectIdxTransRefType,TransRefId,CollectRefLevel,Production,RecIdUnique.
Relations (19)
Each relation joins ProdCalcTrans to another table on the fields shown.
BOMCalcGroup→BOMCalcGroupJoin on
CalcGroupId = BOMCalcGroup.CalcGroupIdMany ProdCalcTrans records → zero or one BOMCalcGroup record
BOMCostGroup→BOMCostGroupJoin on
CostGroupId = BOMCostGroup.CostGroupIdMany ProdCalcTrans records → zero or one BOMCostGroup record
Common→CommonJoin on
IdRefRecId = Common.RecId,IdRefTableId = Common.TableIdCardinality not set in the metadata.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany ProdCalcTrans records → zero or one InventDim record
InventTableBOM→InventTableJoin on
CalcType = ItemCalcType::BOM,Resource = InventTable.ItemIdMany ProdCalcTrans records → zero or one InventTable record
InventTableItem→InventTableJoin on
CalcType = ItemCalcType::Item,Resource = InventTable.ItemIdMany ProdCalcTrans records → zero or one InventTable record
InventTableProd→InventTableJoin on
CalcType = ItemCalcType::Production,Resource = InventTable.ItemIdMany ProdCalcTrans records → zero or one InventTable record
InventTableService→InventTableJoin on
CalcType = ItemCalcType::Service,Resource = InventTable.ItemIdMany ProdCalcTrans records → zero or one InventTable record
LeanProductionFlowCosting→LeanProductionFlowCostingJoin on
TransRefId = LeanProductionFlowCosting.TransRefId,TransRefType = ProdTransRefType::BackflushCostingMany ProdCalcTrans records → zero or one LeanProductionFlowCosting record
PlanReference→PlanReferenceJoin on
TransRefType = ProdTransRefType::ProductionFlow,TransRefId = PlanReference.PlanNameMany ProdCalcTrans records → zero or one PlanReference record
ProdBOM→ProdBOMJoin on
IdRefRecId = ProdBOM.RecId,IdRefTableId = ProdBOM.TableIdMany ProdCalcTrans records → zero or one ProdBOM record
ProdRoute→ProdRouteJoin on
IdRefRecId = ProdRoute.RecId,IdRefTableId = ProdRoute.TableIdMany ProdCalcTrans records → zero or one ProdRoute record
RouteOprTable→RouteOprTableJoin on
OprId = RouteOprTable.OprIdMany ProdCalcTrans records → zero or one RouteOprTable record
Table→ProdTableJoin on
TransRefId = ProdTable.ProdId,CollectRefProdId = ProdTable.CollectRefProdIdMany ProdCalcTrans records → zero or one ProdTable record
UnitId→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany ProdCalcTrans records → zero or one UnitOfMeasure record
VendTable→VendTableJoin on
VendId = VendTable.AccountNumMany ProdCalcTrans records → zero or one VendTable record
WrkCtrTableProcess→WrkCtrTableJoin on
CalcType = ItemCalcType::Process,Resource = WrkCtrTable.WrkCtrIdMany ProdCalcTrans records → zero or one WrkCtrTable record
WrkCtrTableQty→WrkCtrTableJoin on
CalcType = ItemCalcType::Qty,Resource = WrkCtrTable.WrkCtrIdMany ProdCalcTrans records → zero or one WrkCtrTable record
WrkCtrTableSetup→WrkCtrTableJoin on
CalcType = ItemCalcType::Setup,Resource = WrkCtrTable.WrkCtrIdMany ProdCalcTrans records → zero or one WrkCtrTable record
Get this data out
Tables are not exposed directly. These public entities read from ProdCalcTrans; use one of them in Power BI, Power Platform or a data management project.
ProdCalcTransBiEntity· 46 fields from this table
Need help with ProdCalcTrans in a report, an integration or a migration? Talk to Dr Dynamics.