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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CollectRefProdIdNumber of the production order that the calculation is collected under.String (35)
CostTransRefId
YesProdTable.CollectRefProdIdProdCalcTransBiEntity
CollectRefLevelLevel in the collected production order structure.Integer
ProdCollectRefLevel
NoProdCalcTransBiEntity
LineNumLine number that sorts the lines.Real
LineNum
NoProdCalcTransBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoProdCalcTransBiEntity
BOMShows whether the line is for BOM consumption.Enum
BOMCalcBOMConsumption
NoYes (enum)
NoProdCalcTransBiEntity
CalcGroupIdCalculation group of the line.String
BOMCalcGroupId
NoBOMCalcGroup.CalcGroupIdProdCalcTransBiEntity
CalcTypeType of calculation line, such as item, BOM, setup, process or surcharge.Enum
ItemCalcType (enum)
NoProdCalcTransBiEntity
ConsumpConstantConstant part of consumption.Real
BOMCalcConsumptionConstant
NoProdCalcTransBiEntity
ConsumpTypeShows whether consumption is variable or constant.Enum
BOMConsumpType (enum)
NoProdCalcTransBiEntity
ConsumpVariableVariable part of consumption.Real
BOMCalcConsumptionVariable
NoProdCalcTransBiEntity
CostAmountEstimated cost amount of the line.Real
CostAmountNonMonetary
NoProdCalcTransBiEntity
CostGroupIdCost group of the line.String
CostGroupId
NoBOMCostGroup.CostGroupIdProdCalcTransBiEntity
CostMarkupCost amount added as charges.Real
BOMCalcCostMarkup
NoProdCalcTransBiEntity
CostPriceModelUsedModel used to find the cost price, such as item cost price or trade agreement.Enum
BOMCalcCostPriceUsed (enum)
NoProdCalcTransBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoProdCalcTransBiEntity
DerivedReferenceType of the referenced document, such as sales order or production.Enum
InventRefType (enum)
NoProdCalcTransBiEntity
DerivedRefNumNumber of the referenced document.String (20)
InventRefId
NoProdCalcTransBiEntity
FinancialIndirectAmount_RUIndirect cost amount, used for Russia.Real
ProdFinancialIndirectAmount_RU
NoProdCalcTransBiEntity
IdRefRecIdSystem record ID of the record the line refers to.Int64
ProdCalcTransRefRecId
YesProdCalcTransBiEntity
IdRefTableIdID of the table that the referenced record is in.Integer
ProdCalcTransRefTableId
YesProdCalcTransBiEntity
InventDimIdPoints to the inventory dimensions for the line.String (20)
InventDimId
NoInventDim.inventDimIdProdCalcTransBiEntity
InventDimStrText showing the inventory dimensions of the line.String (20)
BOMCalcInventDimStr
NoProdCalcTransBiEntity
OprIdRoute operation of the line.String
RouteOprId
NoRouteOprTable.OprIdProdCalcTransBiEntity
OprNumNumber of the route operation of the line.Integer
OprNum
NoProdCalcTransBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PmfCostAllocationMethod used to allocate cost to a co-product: none, manual or TCA.Enum
PmfCostAllocationMethod (enum)
NoProdCalcTransBiEntity
PmfCostAllocationPctPercentage of cost allocated to the co-product.Real
PmfCostAllocationPct
NoProdCalcTransBiEntity
PmfOverheadAmtBurden amount for the by-product.Real
PmfOverheadAmt
NoProdCalcTransBiEntity
PmfOverheadPctBurden percentage for the by-product.Real
PmfOverheadPct
NoProdCalcTransBiEntity
PriceDiscQtyQuantity used for price and discount.low confidenceReal
BOMCalcPriceDiscQty
NoProdCalcTransBiEntity
ProductionShows whether the line is for production.Enum
NoYes (enum)
NoProdCalcTransBiEntity
QtyEstimated quantity in inventory units.Real
InventQty
NoProdCalcTransBiEntity
RealConsumpActual consumption quantity.Real
CostQuantity
NoProdCalcTransBiEntity
RealCostAdjustmentAdjustment to the actual cost.Real
CostAmountNonMonetary
NoProdCalcTransBiEntity
RealCostAmountActual cost amount of the line.Real
CostAmountNonMonetary
NoProdCalcTransBiEntity
RealQtyActual quantity of the line.Real
CostQuantity
NoProdCalcTransBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoProdCalcTransBiEntity
ResourceItem or resource that the line is for.String (30)
BOMCalcResource
NoInventTable.ItemIdWrkCtrTable.WrkCtrIdProdCalcTransBiEntity
SalesAmountSales amount of the line, in accounting currency.Real
AmountMST
NoProdCalcTransBiEntity
SalesMarkupSales amount added as charges.Real
BOMCalcSalesMarkup
NoProdCalcTransBiEntity
SalesPriceModelUsedModel used to find the sales price: none, cost group or item sales price.Enum
BOMCalcSalesPriceUsed (enum)
NoProdCalcTransBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoProdCalcTransBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the calculation transaction.Date
TransDate
NoProdCalcTransBiEntity
TransRefIdReference number of the plan the transaction belongs to.String (35)
CostTransRefId
YesPlanReference.PlanNameProdCalcTransBiEntity
TransRefTypeKind of reference, such as production order, production flow or lot ID.Enum
ProdTransRefType (enum)
NoProdCalcTransBiEntity
UnitIdUnit of measure of the line.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolProdCalcTransBiEntity
VendIdVendor account linked to the line.String (20)
VendAccount
NoVendTable.AccountNumProdCalcTransBiEntity

Indexes (3)

Relations (19)

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

  • BOMCalcGroup → BOMCalcGroup

    Join on CalcGroupId = BOMCalcGroup.CalcGroupId

    Many ProdCalcTrans records → zero or one BOMCalcGroup record

  • BOMCostGroup → BOMCostGroup

    Join on CostGroupId = BOMCostGroup.CostGroupId

    Many ProdCalcTrans records → zero or one BOMCostGroup record

  • Common → Common

    Join on IdRefRecId = Common.RecId, IdRefTableId = Common.TableId

    Cardinality not set in the metadata.

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many ProdCalcTrans records → zero or one InventDim record

  • InventTableBOM → InventTable

    Join on CalcType = ItemCalcType::BOM, Resource = InventTable.ItemId

    Many ProdCalcTrans records → zero or one InventTable record

  • InventTableItem → InventTable

    Join on CalcType = ItemCalcType::Item, Resource = InventTable.ItemId

    Many ProdCalcTrans records → zero or one InventTable record

  • InventTableProd → InventTable

    Join on CalcType = ItemCalcType::Production, Resource = InventTable.ItemId

    Many ProdCalcTrans records → zero or one InventTable record

  • InventTableService → InventTable

    Join on CalcType = ItemCalcType::Service, Resource = InventTable.ItemId

    Many ProdCalcTrans records → zero or one InventTable record

  • LeanProductionFlowCosting → LeanProductionFlowCosting

    Join on TransRefId = LeanProductionFlowCosting.TransRefId, TransRefType = ProdTransRefType::BackflushCosting

    Many ProdCalcTrans records → zero or one LeanProductionFlowCosting record

  • PlanReference → PlanReference

    Join on TransRefType = ProdTransRefType::ProductionFlow, TransRefId = PlanReference.PlanName

    Many ProdCalcTrans records → zero or one PlanReference record

  • ProdBOM → ProdBOM

    Join on IdRefRecId = ProdBOM.RecId, IdRefTableId = ProdBOM.TableId

    Many ProdCalcTrans records → zero or one ProdBOM record

  • ProdRoute → ProdRoute

    Join on IdRefRecId = ProdRoute.RecId, IdRefTableId = ProdRoute.TableId

    Many ProdCalcTrans records → zero or one ProdRoute record

  • RouteOprTable → RouteOprTable

    Join on OprId = RouteOprTable.OprId

    Many ProdCalcTrans records → zero or one RouteOprTable record

  • Table → ProdTable

    Join on TransRefId = ProdTable.ProdId, CollectRefProdId = ProdTable.CollectRefProdId

    Many ProdCalcTrans records → zero or one ProdTable record

  • UnitId → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many ProdCalcTrans records → zero or one UnitOfMeasure record

  • VendTable → VendTable

    Join on VendId = VendTable.AccountNum

    Many ProdCalcTrans records → zero or one VendTable record

  • WrkCtrTableProcess → WrkCtrTable

    Join on CalcType = ItemCalcType::Process, Resource = WrkCtrTable.WrkCtrId

    Many ProdCalcTrans records → zero or one WrkCtrTable record

  • WrkCtrTableQty → WrkCtrTable

    Join on CalcType = ItemCalcType::Qty, Resource = WrkCtrTable.WrkCtrId

    Many ProdCalcTrans records → zero or one WrkCtrTable record

  • WrkCtrTableSetup → WrkCtrTable

    Join on CalcType = ItemCalcType::Setup, Resource = WrkCtrTable.WrkCtrId

    Many 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.

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

Email sales@drdynamics.co.uk