Table
ProdTable
Production orders
Holds production orders, one record per order. The key is the production order ID. Each order links to an item, a bill of materials, a route, inventory dimensions and a project. It also holds status, quantities, scheduling dates and process manufacturing settings.
- Table name
ProdTable- Module
Production control- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
Prod- Primary index
ProdIdx- Replacement key
ProdIdx- Key fields
ProdId- Model
Foundation
Fields (98)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProdIdUnique ID of the production order. | String (20)ProdId | Yes | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntityand 9 more | |
ActivityNumberNumber of the activity linked to the production order. | String (50)smmActivityNumber | No | smmActivities.ActivityNumber | ProdTableBiEntity |
BackorderStatusRemain status of the order, such as material consumption, route consumption, reported as finished or ended. | EnumProdBackStatus (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
BOMDateDate used for the bill of materials. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
BOMIdBill of materials used by the order. | String (20)BOMId | No | BOMTable.BOMId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
CalcDateDate the order was estimated. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
CheckRouteYes/no flag for checking the route.low confidence | EnumNoYes (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
CollectRefLevelLevel of the reference production in the order structure. | IntegerBOMLevel | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
CollectRefProdIdReference production order that this order is collected under. | String (20)ProdId | No | ProdTable.ProdId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | ProdTableBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | ProdTableBiEntity | |
CurrencyCode_RUCurrency code. Used for Russia. | String (3)CurrencyCode | No | Currency.CurrencyCode | ProdTableBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ProdTableBiEntity | |
DefaultDimensionPoints to the set of financial dimension values for the order. | Int64InventSiteLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
DensityDensity of the produced item. | RealBOMMeasureDensity | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
DepthDepth of the produced item. | RealBOMMeasureDepth | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
DlvDateDelivery date of the order. | DateSalesShippingDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
DlvTimeDelivery time of the order. | TimeSchedTime | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
FinishedDateDate the order was reported as finished. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
FinTagFinancial tag linked to the order. | Int64FinTagRecId | No | FinTag.RecId | None |
GanttColorIdColour used for the order in the Gantt chart. | IntegerGanttColorId | No | GanttColorTable.color | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
HeightHeight of the produced item. | RealBOMMeasureHeight | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
InventDimIdInventory dimension number linked to the order. | String (20)InventDimId | No | InventDim.inventDimId | ProdTableBiEntity |
InventRefIdNumber of the document that the order refers to, such as a sales order, production order or journal. | String (20)InventRefId | No | InventJournalTable.JournalIdInventTransferTable.TransferIdProdTable.ProdIdSalesTable.SalesId | ProdTableBiEntity |
InventRefTransIdReference lot linked to the source line of the order. | String (20)InventRefTransId | No | ProdBOM.InventTransIdSalesLine.InventTransId | ProdTableBiEntity |
InventRefTypeKind of document the order refers to, such as sales order, purchase order or production. | EnumInventRefType (enum) | No | ProdTableBiEntity | |
InventTransIdLot ID that links the order to its inventory transactions. | String (20)InventTransId | No | InventTransOrigin.InventTransId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
ItemIdItem being produced. | String (20)ItemIdProduction | No | InventTable.ItemId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
LatestSchedDateDate of the latest scheduling. | DateSchedDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
LatestSchedDirectionDirection of the latest scheduling: forward or backward. | EnumSchedDirection (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
LatestSchedTimeTime of the latest scheduling. | TimeSchedTime | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
NameName of the production order. | String (60)ProdName | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
PackedExtensionsContainer holding packed extension data for the record. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWBatchEstEstimated quantity in catch weight units. | RealPdsCWBatchEst | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PdsCWBatchSchedScheduled quantity in catch weight units. | RealPdsCWBatchSched | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PdsCWBatchSizeBatch size in catch weight units. | RealPdsCWBatchSize | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PdsCWBatchStupStarted quantity in catch weight units. | RealPdsCWBatchStup | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PdsCWRemainInventPhysicalRemainder to report as finished, in catch weight units. | RealPdsCWInventQty | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PlanningPriorityNumber that ranks the order's importance for planning. | RealReqPlanningPriority | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
PmfBulkOrdYes/no flag showing whether this is a bulk order. | EnumPmfBulkOrdNoYes (enum) | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PmfCoByVarAllowYes/no flag showing whether co-product variations are allowed. | EnumPmfCoByVarAllowNoYes (enum) | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PmfConsOrdIdConsolidated batch order that this order belongs to. | String (20)PmfConsOrdId | No | PmfConsOrd.ConsOrdId | ProdBatchOrderHeaderEntityProdTableBiEntity |
PmfReworkBatchYes/no flag showing whether this is a rework batch. | EnumPmfReworkBatchNoYes (enum) | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PmfTotalCostAllocationYes/no flag for total cost allocation. | EnumPmfTotalCostAllocationNoYes (enum) | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PmfYieldPctYield of the batch, as a percentage. | RealPmfYieldPct | No | ProdBatchOrderHeaderEntityProdTableBiEntity | |
PriceGroup_RUPrice group. Used for Russia. | StringCustPriceGroup | No | ProdTableBiEntity | |
ProdGroupIdProduction group of the order. | StringProdGroupId | No | ProdGroup.ProdGroupId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
ProdLockedYes/no flag showing whether the order is locked. | EnumLockedNoYes (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProdOrigIdOriginal production order that this order came from. | String (20)ProdOrigId | No | ProdTable.ProdId | ProdTableBiEntity |
ProdPoolIdProduction pool of the order. | StringProdPoolId | No | ProdPool.ProdPoolId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
ProdPostingTypeLedger posting setup for the order: item and resource, item and category, or production groups. | EnumProdPostingType (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProdPrioPriority of the order. | IntegerPriority | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProdStatusStatus of the order, from created through to ended. | EnumProdStatus (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProdTypeType of order: standard, vendor or process. | EnumProdType (enum) | No | ProdTableBiEntity | |
ProdWHSReleasePolicyRelease-to-warehouse setting: allow partial reservation, require full reservation or use the production BOM value. | EnumProdWHSReleasePolicy (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProfitSetProfit-setting choice for the order: standard or profit 1 to 3. | EnumCostProfitSet (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ProjCategoryIdProject category of the order. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | ProdTableBiEntity |
ProjCostAmountCost amount used for the project. | RealCostAmount | No | ProdTableBiEntity | |
ProjCostPriceCost price used for the project. | RealItemCostPrice | No | ProdTableBiEntity | |
ProjIdProject linked to the order. | String (20)ProjId | No | ProjTable.ProjId | ProdTableBiEntity |
ProjLinePropertyIdProject line property of the order. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | ProdTableBiEntity |
ProjLinkedToOrderYes/no flag showing whether the project is linked to the order. | EnumNoYes (enum) | No | ProdTableBiEntity | |
ProjPostingTypeProject posting method: none, finished item or consumed. | EnumProjProdPostingType (enum) | No | ProdTableBiEntity | |
ProjSalesCurrencyIdCurrency code for the project sales price. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | ProdTableBiEntity |
ProjSalesPriceSales price used for the project. | RealProjSalesPriceCost | No | ProdTableBiEntity | |
ProjSalesUnitIdUnit of measure for the project sales price. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | ProdTableBiEntity |
ProjTaxGroupIdSales tax group for the project. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | ProdTableBiEntity |
ProjTaxItemGroupIdItem sales tax group for the project. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | ProdTableBiEntity |
ProjTransIdID of the related project item transaction. | String (20)ProjItemTransId | No | ProjItemTrans.ProjTransId | ProdTableBiEntity |
PropertyIdResource property linked to the order. | StringPropertyId | No | WrkCtrProperty.PropertyId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
QMSBatchProdIdIdentifier of the electronic batch record linked to the order. | String (20)QMSBatchProdId | No | None | |
QtyCalcEstimated quantity of the order. | RealProdQtyCalc | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
QtySchedScheduled quantity of the order. | RealProdQtySched | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
QtyStUpQuantity that has been started. | RealProdQtyStUp | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
RealDateDate the order ended. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ProdTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | ProdTableBiEntity | |
RefLookUpWhere the automatic search looks for a reference: production or sales order. | EnumProdRefLookUp (enum) | No | ProdTableBiEntity | |
ReleasedDateDate the order was released. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
RemainInventPhysicalRemainder quantity to report as finished. | RealInventQty | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ReqPlanIdSchedMaster plan used for scheduling. | StringReqPlanIdSched | No | ReqPlanSched.ReqPlanIdSched | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
ReqPOIdNumber of the planned order linked to this order. | String (20)ReqPOId | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
ReservationReservation setting: manual, estimation, scheduling, start or release. | EnumProdReservation (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
RouteIdRoute used by the order. | String (20)RouteId | No | RouteTable.RouteId | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
RouteJobsYes/no flag for route jobs.low confidence | EnumNoYes (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedDateDate the order was scheduled. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedEndScheduled end date of the order. | DateSchedToDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedFromTimeScheduled start time of the order. | TimeSchedFromTime | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedStartScheduled start date of the order. | DateSchedFromDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedStatusScheduling status: none, operations scheduled or job scheduled. | EnumProdSchedStatus (enum) | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SchedToTimeScheduled end time of the order. | TimeSchedToTime | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SkipCreateBOMLinesYes/no flag to skip creating BOM lines. | EnumProdTableSkipCreateBOMLinesNoYes (enum) | No | None | |
SkipCreateRouteOperationsYes/no flag to skip creating route operations. | EnumProdTableSkipCreateRouteOperationsNoYes (enum) | No | None | |
StUpDateDate the order was started. | DateTransDate | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | ProdTableBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WidthWidth of the produced item. | RealBOMMeasureWidth | No | ProdBatchOrderHeaderEntityProdProductionOrderHeaderEntityProdTableBiEntity |
Indexes (8)
ProdIdxPrimary indexReplacement keyUnique, alternate key.
ProdStatusIdxUnique.
BackStatusItemIdxNot unique.
TypeRemainIdxProdType,BackorderStatus,ProdPoolId,ProdIdUnique.
RefCollectIdxCollectRefProdId,CollectRefLevel,ProdIdUnique.
ProjIdxNot unique.
TransIdIdxUnique.
RealDateIdxNot unique.
Relations (36)
Each relation joins ProdTable to another table on the fields shown.
BOMTable→BOMTableJoin on
BOMId = BOMTable.BOMIdMany ProdTable records → zero or one BOMTable record
Currency→CurrencyJoin on
CurrencyCode_RU = Currency.CurrencyCodeMany ProdTable records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProdTable records → zero or one DimensionAttributeValueSet record
GanttColorTable→GanttColorTableJoin on
GanttColorId = GanttColorTable.colorMany ProdTable records → zero or one GanttColorTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany ProdTable records → zero or one InventDim record
InventJournal→InventJournalTableJoin on
InventRefType = InventRefType::InventJournal,InventRefId = InventJournalTable.JournalIdMany ProdTable records → zero or one InventJournalTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany ProdTable records → zero or one InventTable record
InventTransferTable→InventTransferTableJoin on
InventRefType = InventRefType::InventTransfer,InventRefId = InventTransferTable.TransferIdMany ProdTable records → zero or one InventTransferTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdZero or one ProdTable record → zero or one InventTransOrigin record
OriginalProdTable→ProdTableJoin on
ProdOrigId = ProdTable.ProdIdMany ProdTable records → zero or one ProdTable record
PlannedOrder→ReqPOJoin on
ReqPOId = ReqPO.RefIdZero or one ProdTable record → zero or one ReqPO record
PmfConsOrd→PmfConsOrdJoin on
PmfConsOrdId = PmfConsOrd.ConsOrdIdZero or one ProdTable record → zero or one PmfConsOrd record
PriceGroup_RU→PriceDiscGroupJoin on
PriceGroup_RU = PriceDiscGroup.GroupId,PriceDiscGroup.Module = ModuleInventCustVend::Cust,PriceDiscGroup.Type = PriceGroupType::PriceGroupMany ProdTable records → exactly one PriceDiscGroup record
ProdGroup→ProdGroupJoin on
ProdGroupId = ProdGroup.ProdGroupIdMany ProdTable records → zero or one ProdGroup record
ProdLine→ProdBOMJoin on
InventRefTransId = ProdBOM.InventTransId,InventRefId = ProdBOM.ProdId,InventRefType = InventRefType::ProdLineMany ProdTable records → zero or one ProdBOM record
ProdPool→ProdPoolJoin on
ProdPoolId = ProdPool.ProdPoolIdMany ProdTable records → zero or one ProdPool record
ProdTable→ProdTableJoin on
ProdId = ProdTable.ProdIdExactly one ProdTable record → exactly one ProdTable record
ProdTableProj→ProdTableProjJoin on
ProdId = ProdTableProj.ProdIdExactly one ProdTable record → zero or one ProdTableProj record
Production→ProdTableJoin on
InventRefId = ProdTable.ProdIdMany ProdTable records → zero or one ProdTable record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany ProdTable records → zero or one ProjCategory record
ProjectSalesCurrency→CurrencyJoin on
ProjSalesCurrencyId = Currency.CurrencyCodeMany ProdTable records → zero or one Currency record
ProjectTaxGroupHeading→TaxGroupHeadingJoin on
ProjTaxGroupId = TaxGroupHeading.TaxGroupMany ProdTable records → zero or one TaxGroupHeading record
ProjectTaxItemGroupHeading→TaxItemGroupHeadingJoin on
ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProdTable records → zero or one TaxItemGroupHeading record
ProjItemTrans→ProjItemTransJoin on
ProjTransId = ProjItemTrans.ProjTransIdMany ProdTable records → zero or one ProjItemTrans record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany ProdTable records → zero or one ProjLineProperty record
ProjSalesUnitId→UnitOfMeasureJoin on
ProjSalesUnitId = UnitOfMeasure.SymbolMany ProdTable records → zero or one UnitOfMeasure record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProdTable records → zero or one ProjTable record
ReferenceProdTable→ProdTableJoin on
CollectRefProdId = ProdTable.ProdIdMany ProdTable records → zero or one ProdTable record
ReqPlanSched→ReqPlanSchedJoin on
ReqPlanIdSched = ReqPlanSched.ReqPlanIdSchedMany ProdTable records → zero or one ReqPlanSched record
RouteTable→RouteTableJoin on
RouteId = RouteTable.RouteIdMany ProdTable records → zero or one RouteTable record
SalesOrder→SalesTableJoin on
SalesTable.SalesStatus = SalesStatus::Backorder,InventRefType = InventRefType::Sales,InventRefId = SalesTable.SalesIdMany ProdTable records → zero or one SalesTable record
SalesOrderLine→SalesLineJoin on
SalesLine.SalesStatus = SalesStatus::Backorder,InventRefTransId = SalesLine.InventTransId,InventRefId = SalesLine.SalesId,InventRefType = InventRefType::SalesMany ProdTable records → zero or one SalesLine record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany ProdTable records → zero or one smmActivities record
WrkCtrProperty→WrkCtrPropertyJoin on
PropertyId = WrkCtrProperty.PropertyIdMany ProdTable records → zero or one WrkCtrProperty record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdZero or one ProdTable record → zero or one FinTag record
JmgMES3PMessage→JmgMES3PMessageJoin on
ProdId = JmgMES3PMessage.ProdId,DataAreaId = JmgMES3PMessage.CompanyIdCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from ProdTable; use one of them in Power BI, Power Platform or a data management project.
ProdBatchOrderHeaderEntity· 62 fields from this tableProdProductionOrderHeaderEntity· 51 fields from this tableProdTableBiEntity· 91 fields from this tableProdBatchOrderByProductV2Entity· 1 field from this tableProdBatchOrderCoProductV2Entity· 1 field from this tableProdBatchOrderByProductEntity· 1 field from this tableProdBatchOrderCoProductEntity· 1 field from this tableProdBatchOrderFormulaLineEntity· 1 field from this tableProdBatchOrderRouteOperationEntity· 1 field from this tableProdProductionOrderBillOfMaterialsLineEntity· 1 field from this tableProdProductionOrderRouteOperationEntity· 1 field from this tableIoTIntMfgSensorJobItemBatchAttributeEntity· 1 field from this table
Need help with ProdTable in a report, an integration or a migration? Talk to Dr Dynamics.