Data entity
ProdBatchOrderHeaderEntity
Batch orders, based on production orders and keyed by batch order number. Each holds status, priority, dates, quantities including catch weight, default dimensions and financial tags. It also links to the demand batch order, journal, sales order, transfer order and subcontracting references.
- Entity name
ProdBatchOrderHeaderEntity- Public entity name
BatchOrderHeader- OData collection
BatchOrderHeaders- Category
Document- Module
Production control- Read-only
No- Data management enabled
Yes- Configuration key
PMF- Keys
BatchOrderNumber- Staging table
ProdBatchOrderHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/BatchOrderHeaders- Dataverse virtual table
mserp_prodbatchorderheaderentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
ProdTable· rootDefaultDimensionDAVS(tableDimensionSetEntity) · OuterJoin toProdTable· read-onlyInventDim· InnerJoin toProdTable· read-onlyFinTag· OuterJoin toProdTable· read-only
Fields (91)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AreRouteJobsGeneratedYes/no flag for route jobs.low confidence | Enum
| No | Yes | ProdTable.RouteJobs | |
AutoReservationModeReservation setting: manual, estimation, scheduling, start or release. | Enum
| No | Yes | ProdTable.Reservation | |
BatchOrderLedgerPostingRuleLedger posting setup for the order: item and resource, item and category, or production groups. | Enum
| No | Yes | ProdTable.ProdPostingType | |
BatchOrderLevelLevel of the reference production in the order structure. | IntegerBOMLevel | No | Yes | ProdTable.CollectRefLevel | |
BatchOrderNameName of the production order. | String (60)ProdName | No | Yes | ProdTable.Name | |
BatchOrderNumberUnique ID of the production order. | String (20)ProdId | No | Yes | ProdTable.ProdId | |
BatchOrderPriorityPriority of the order. | IntegerPriority | No | Yes | ProdTable.ProdPrio | |
BatchOrderProfitSettingMethodProfit-setting choice for the order: standard or profit 1 to 3. | Enum
| No | Yes | ProdTable.ProfitSet | |
BatchOrderStatusStatus of the order, from created through to ended. | Enum
| No | Yes | ProdTable.ProdStatus | |
BatchOrderRemainderStatusRemain status of the order, such as material consumption, route consumption, reported as finished or ended. | Enum
| No | Yes | ProdTable.BackorderStatus | |
BatchSizeCatchWeightQuantityBatch size in catch weight units. | RealPdsCWBatchSize | No | Yes | ProdTable.PdsCWBatchSize | |
ConsumptionDensityConversionFactorDensity of the produced item. | RealBOMMeasureDensity | No | Yes | ProdTable.Density | |
ConsumptionDepthConversionFactorDepth of the produced item. | RealBOMMeasureDepth | No | Yes | ProdTable.Depth | |
ConsumptionHeightConversionFactorHeight of the produced item. | RealBOMMeasureHeight | No | Yes | ProdTable.Height | |
ConsumptionWidthConversionFactorWidth of the produced item. | RealBOMMeasureWidth | No | Yes | ProdTable.Width | |
ConsolidatedBatchOrderNumberConsolidated batch order that this order belongs to. | String (20)PmfConsOrdId | No | Yes | PmfConsOrd.ConsOrdId | ProdTable.PmfConsOrdId |
DefaultLedgerDimensionPoints to the set of financial dimension values for the order. | Int64InventSiteLinkedDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | ProdTable.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DeliveryDateDelivery date of the order. | DateSalesShippingDate | No | Yes | ProdTable.DlvDate | |
DeliveryTimeDelivery time of the order. | TimeSchedTime | No | Yes | ProdTable.DlvTime | |
DemandBatchOrderLineInventoryLotIdInventory lot of the demand batch order line. | String (20)InventRefId | No | Yes | computed | |
DemandBatchOrderLineNumberNumber of the demand batch order line. | String (20)InventRefId | No | Yes | computed | |
DemandBatchOrderHeaderInventoryLotIdInventory lot of the demand batch order header. | String (20)InventRefId | No | Yes | computed | |
DemandBatchOrderNumberNumber of the batch order that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandInventoryJournalLineInventoryLotIdLot of the inventory journal line that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandInventoryJournalNumberNumber of the inventory journal that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandSalesOrderLineInventoryLotIdInventory lot of the sales order line that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandSalesOrderNumberNumber of the sales order that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandTransferOrderLineReceivingInventoryLotIdInventory lot of the receiving line of the transfer order that creates the demand. | String (20)InventRefId | No | Yes | computed | |
DemandTransferOrderNumberNumber of the transfer order that creates the demand. | String (20)InventRefId | No | Yes | computed | |
EndedDateDate the order ended. | DateTransDate | No | Yes | ProdTable.RealDate | |
EstimatedCatchWeightQuantityEstimated quantity in catch weight units. | RealPdsCWBatchEst | No | Yes | ProdTable.PdsCWBatchEst | |
EstimatedDateDate the order was estimated. | DateTransDate | No | Yes | ProdTable.CalcDate | |
EstimatedQuantityEstimated quantity of the order. | RealProdQtyCalc | No | Yes | ProdTable.QtyCalc | |
GanttChartColorNumberColour used for the order in the Gantt chart. | IntegerGanttColorId | No | Yes | GanttColorTable.color | ProdTable.GanttColorId |
InventoryLotIdLot ID that links the order to its inventory transactions. | String (20)InventTransId | No | Yes | InventTransOrigin.InventTransId | ProdTable.InventTransId |
InventoryOwnerIdInventory owner; used for Russia. | String (40)InventOwnerId | No | Yes | InventOwner_RU.InventOwnerId | InventDim.InventOwnerId_RU |
InventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
IsBatchOrderRouteOperationValidYes/no flag for checking the route.low confidence | Enum
| No | Yes | ProdTable.CheckRoute | |
IsBatchOrderSchedulingLockedYes/no flag showing whether the order is locked. | EnumLocked
| No | Yes | ProdTable.ProdLocked | |
IsBulkOrderYes/no flag showing whether this is a bulk order. | EnumPmfBulkOrd
| No | Yes | ProdTable.PmfBulkOrd | |
IsCoByProductVariationAllowedYes/no flag showing whether co-product variations are allowed. | EnumPmfCoByVarAllow
| No | Yes | ProdTable.PmfCoByVarAllow | |
IsReworkBatchOrderYes/no flag showing whether this is a rework batch. | EnumPmfReworkBatch
| No | Yes | ProdTable.PmfReworkBatch | |
IsTotalCostAllocationEnabledYes/no flag for total cost allocation. | EnumPmfTotalCostAllocation
| No | Yes | ProdTable.PmfTotalCostAllocation | |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ItemNumberItem being produced. | String (20)ItemIdProduction | Yes | Yes | InventTable.ItemId | ProdTable.ItemId |
ItemSerialNumberSerial number of the inventory. | String (20)InventSerialId | No | Yes | InventDim.inventSerialId | |
LastSchedulingDateDate of the latest scheduling. | DateSchedDate | No | Yes | ProdTable.LatestSchedDate | |
LastSchedulingDateDirectionDirection of the latest scheduling: forward or backward. | Enum
| No | Yes | ProdTable.LatestSchedDirection | |
LastSchedulingTimeTime of the latest scheduling. | TimeSchedTime | No | Yes | ProdTable.LatestSchedTime | |
LicensePlateNumberLicense plate ID of the stock unit. | String (25)WHSLicensePlateId | No | Yes | WHSLicensePlate.LicensePlateId | InventDim.LicensePlateId |
ParentBatchOrderNumberReference production order that this order is collected under. | String (20)ProdId | No | Yes | ProdTable.ProdId | ProdTable.CollectRefProdId |
PlannedReceiptWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
PlannedReceiptWarehouseLocationIdLocation inside the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | InventDim.wMSLocationId |
ProductionGroupIdProduction group of the order. | StringProdGroupId | No | Yes | ProdGroup.ProdGroupId | ProdTable.ProdGroupId |
ProductionPoolIdProduction pool of the order. | StringProdPoolId | No | Yes | ProdPool.ProdPoolId | ProdTable.ProdPoolId |
ProductionSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ReleasedDateDate the order was released. | DateTransDate | No | Yes | ProdTable.ReleasedDate | |
RemainingReportAsFinishedCatchWeightQuantityRemainder to report as finished, in catch weight units. | RealPdsCWInventQty | No | Yes | ProdTable.PdsCWRemainInventPhysical | |
RemainingReportAsFinishedQuantityRemainder quantity to report as finished. | RealInventQty | No | Yes | ProdTable.RemainInventPhysical | |
ReportedAsFinishedDateDate the order was reported as finished. | DateTransDate | No | Yes | ProdTable.FinishedDate | |
ScheduledCatchWeightQuantityScheduled quantity in catch weight units. | RealPdsCWBatchSched | No | Yes | ProdTable.PdsCWBatchSched | |
ScheduledDateDate the order was scheduled. | DateTransDate | No | Yes | ProdTable.SchedDate | |
ScheduledEndDateScheduled end date of the order. | DateSchedToDate | No | Yes | ProdTable.SchedEnd | |
ScheduledEndTimeScheduled end time of the order. | TimeSchedToTime | No | Yes | ProdTable.SchedToTime | |
ScheduledStartTimeScheduled start time of the order. | TimeSchedFromTime | No | Yes | ProdTable.SchedFromTime | |
ScheduledStartDateScheduled start date of the order. | DateSchedFromDate | No | Yes | ProdTable.SchedStart | |
ScheduledQuantityScheduled quantity of the order. | RealProdQtySched | No | Yes | ProdTable.QtySched | |
SchedulingMethodScheduling status: none, operations scheduled or job scheduled. | Enum
| No | Yes | ProdTable.SchedStatus | |
SkipCreateBatchOrderFormulaLinesOption that sets whether formula lines are skipped when the batch order is created. | Enum
| Yes | Yes | computed | |
SkipCreateBatchOrderRouteOperationsOption that sets whether route operations are skipped when the batch order is created. | Enum
| Yes | Yes | computed | |
SourceFormulaVersionValidityDateDate used for the bill of materials. | DateTransDate | No | Yes | ProdTable.BOMDate | |
SourceFormulaIdBill of materials used by the order. | String (20)BOMId | No | Yes | BOMTable.BOMId | ProdTable.BOMId |
SourceMasterPlanIdMaster plan used for scheduling. | StringReqPlanIdSched | No | Yes | ReqPlanSched.ReqPlanIdSched | ProdTable.ReqPlanIdSched |
SourcePlannedOrderNumberNumber of the planned order linked to this order. | String (20)ReqPOId | No | Yes | ProdTable.ReqPOId | |
SourceRouteIdRoute used by the order. | String (20)RouteId | No | Yes | RouteTable.RouteId | ProdTable.RouteId |
StartedCatchWeightQuantityStarted quantity in catch weight units. | RealPdsCWBatchStup | No | Yes | ProdTable.PdsCWBatchStup | |
StartedDateDate the order was started. | DateTransDate | No | Yes | ProdTable.StUpDate | |
StartedQuantityQuantity that has been started. | RealProdQtyStUp | No | Yes | ProdTable.QtyStUp | |
SubcontractingPurchaseOrderNumberNumber of the purchase order used for subcontracting. | String (20)InventRefId | No | Yes | computed | |
SubcontractingPurchaseOrderLineInventoryLotIdInventory lot of the subcontracting purchase order line. | String (20)InventRefId | No | Yes | computed | |
WarehouseReleaseReservationRequirementRuleRelease-to-warehouse setting: allow partial reservation, require full reservation or use the production BOM value. | Enum
| No | Yes | ProdTable.ProdWHSReleasePolicy | |
WorkingTimeSchedulingPropertyIdResource property linked to the order. | StringPropertyId | No | Yes | WrkCtrProperty.PropertyId | ProdTable.PropertyId |
YieldPercentageYield of the batch, as a percentage. | RealPmfYieldPct | No | Yes | ProdTable.PmfYieldPct | |
PlanningPriorityNumber that ranks the order's importance for planning. | RealReqPlanningPriority | No | Yes | ProdTable.PlanningPriority | |
FinTagDisplayValueLong text showing the tag values together in a readable form. | String (-1)FinTagDisplayValue | Yes | Yes | FinTag.DisplayValue |
Foreign keys (23)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ConsolidatedBatchOrderNumber→PmfConsOrd.ConsOrdId(key of PmfConsOrd)Zero or one ProdTable record → zero or one PmfConsOrd record
Not exposed by a public entity.
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many ProdTable records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
GanttChartColorNumber→GanttColorTable.color(key of GanttColorTable)Many ProdTable records → zero or one GanttColorTable record
Not exposed by a public entity.
InventoryLotId→InventTransOrigin.InventTransId(key of InventTransOrigin)Zero or one ProdTable record → zero or one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
InventoryOwnerId→InventOwner_RU.InventOwnerId(key of InventOwner_RU)Many InventDim records → zero or one InventOwner_RU record
InventOwner_RU details: see ConsignmentInventoryOwnerEntity
InventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
ItemNumber→InventTable.ItemId(key of InventTable)Many ProdTable records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
LicensePlateNumber→WHSLicensePlate.LicensePlateId(key of WHSLicensePlate)Many InventDim records → zero or one WHSLicensePlate record
WHSLicensePlate details: see WHSLicensePlateEntity
ParentBatchOrderNumber→ProdTable.ProdId(key of ProdTable)Many ProdTable records → zero or one ProdTable record
ProdTable details: see ProdProductionOrderHeaderEntity, IoTIntMfgSensorJobItemBatchAttributeEntity, ProdBatchOrderByProductEntity
PlannedReceiptWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
PlannedReceiptWarehouseLocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
PlannedReceiptWarehouseLocationId=WMSLocation.wMSLocationId,PlannedReceiptWarehouseId=WMSLocation.inventLocationIdMany InventDim records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
ProductionGroupId→ProdGroup.ProdGroupId(key of ProdGroup)Many ProdTable records → zero or one ProdGroup record
Not exposed by a public entity.
ProductionPoolId→ProdPool.ProdPoolId(key of ProdPool)Many ProdTable records → zero or one ProdPool record
ProdPool details: see ProductionPoolEntity
ProductionSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
SourceFormulaId→BOMTable.BOMId(key of BOMTable)Many ProdTable records → zero or one BOMTable record
BOMTable details: see BOMBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderEntity, BOMItemSpecificBillOfMaterialsHeaderV3Entity
SourceMasterPlanId→ReqPlanSched.ReqPlanIdSched(key of ReqPlanSched)Many ProdTable records → zero or one ReqPlanSched record
Not exposed by a public entity.
SourceRouteId→RouteTable.RouteId(key of RouteTable)Many ProdTable records → zero or one RouteTable record
RouteTable details: see RouteHeaderEntity, EngChgReceivedProductReleaseLineEntity, EngChgSentProductReleaseLineEntity
WorkingTimeSchedulingPropertyId→WrkCtrProperty.PropertyId(key of WrkCtrProperty)Many ProdTable records → zero or one WrkCtrProperty record
Not exposed by a public entity.
Need help with ProdBatchOrderHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.