Data entity

ProdBatchOrderByProductV2Entity

Second version of the batch order by-products entity, keyed by inventory lot ID alone. It reads the same production co-product and by-product records. It holds estimated, started and remaining quantities, including catch weight, with cost allocation, dates and inventory dimensions. Only the subcontracting purchase order references are listed as own fields.

Entity name
ProdBatchOrderByProductV2Entity
Public entity name
BatchOrderByProductV2
OData collection
BatchOrderByProductsV2
Category
Document
Module
Production control
Read-only
No
Data management enabled
Yes
Configuration key
PMF
Keys
InventoryLotId
Staging table
ProdBatchOrderCoByProductV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/BatchOrderByProductsV2
Dataverse virtual table
mserp_prodbatchorderbyproductv2entity. 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

  • PmfProdCoBy · root
  • DefaultDimensionDAVS (table DimensionSetEntity) · OuterJoin to PmfProdCoBy · read-only
  • InventDim · InnerJoin to PmfProdCoBy · read-only
  • ProdTable · InnerJoin to PmfProdCoBy · read-only

Fields (43)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
BatchOrderRemainderStatusStatus of the remaining quantity on the line, such as material consumption, report as finished or ended.Enum
ProdBackStatus
  • None 0
  • Release 1
  • Route 2
  • Receipt 3
  • Completed 5
NoYesPmfProdCoBy.BackorderStatus
BurdenAllocationMethodMethod used to allocate by-product cost: none, percent, per series, per quantity or recycled.Enum
PmfBurdenType
  • None 0
  • Percent 1
  • PerSeries 2
  • PerQuantity 3
  • Recycled 4
NoYesPmfProdCoBy.BurdenType
EstimatedDateEstimated date for the line.Date
TransDate
NoYesPmfProdCoBy.CalcDate
ByProductQuantityQuantity of the co-product or by-product.Real
PmfCoByQty
NoYesPmfProdCoBy.CoByQty
ByProductQuantityDenominatorQuantity per series for the co-product or by-product.Real
PmfCoByQtySerie
NoYesPmfProdCoBy.CoByQtySerie
DefaultDimensionPoints to the set of financial dimension values for the line.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdPmfProdCoBy.DefaultDimension
IsFullyConsumedShows whether picking is finished for this line.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPmfProdCoBy.EndConsump
ReportedAsFinishedDateDate the line was reported as finished.Date
TransDate
NoYesPmfProdCoBy.FinishedDate
InventDimIdUnique number for this combination of dimensions.String (20)
InventDimId
YesNo (private)InventDim.inventDimId
ReferenceInventoryLotIdLot ID of the referenced transaction.String (20)
InventRefTransId
NoNo (private)PmfProdCoBy.InventRefTransId
ReferenceTypeType of the referenced document, such as sales order, purchase order or production.Enum
InventRefType
  • None 0
  • Sales 1
  • Purch 2
  • Production 3
  • ProdLine 4
  • InventJournal 5
  • CRMQuotation 6
  • InventTransfer 7
  • FixedAsset 8
NoNo (private)PmfProdCoBy.InventRefType
InventoryLotIdLot ID that identifies this line in inventory transactions.String (20)
InventTransIdBase
NoYesPmfProdCoBy.InventTransIdPmfProdCoBy.InventTransId
ItemNumberItem number of the co-product or by-product.String (20)
ItemId
YesYesInventTable.ItemIdPmfProdCoBy.ItemId
BurdenAllocationAmountBurden amount for the by-product.Real
PmfOverheadAmt
NoYesPmfProdCoBy.OverheadAmt
EstimatedCatchWeightQuantityEstimated quantity in catch weight units.Real
PdsCWInventQty
NoYesPmfProdCoBy.PdsCWInventCalc
StartedCatchWeightQuantityStarted quantity in catch weight units.Real
PdsCWInventQty
NoYesPmfProdCoBy.PdsCWInventStup
CatchWeightQuantityQuantity in catch weight units.Real
PdsCWInventQty
NoYesPmfProdCoBy.PdsCWQty
RemainingCatchWeightQuantityRemaining quantity in catch weight units.Real
PdsCWInventQty
NoYesPmfProdCoBy.PdsCWRemainPhysical
ByProductBatchOrderNumberBatch order the line belongs to.String (20)
ProdId
YesNo (private)ProdTable.ProdIdPmfProdCoBy.ProdId
ProductionTypeKind of product on the line, such as co-product or by-product.Enum
PmfProductType
  • Co_Product 1
  • By_Product 2
  • None 0
  • MainItem 3
  • BOM 4
  • Formula 5
NoNo (private)PmfProdCoBy.ProductType
EstimatedByProductQuantityEstimated quantity of the co-product or by-product.Real
PmfCoByQty
NoYesPmfProdCoBy.QtyCoByCalc
StartedByProductQuantityQuantity started for the co-product or by-product.Real
PmfCoByQty
NoYesPmfProdCoBy.QtyCoByStUp
EndedDateDate the line ended.Date
TransDate
NoYesPmfProdCoBy.RealDate
RemainingByProductQuantityQuantity still remaining for the line.Real
UnitQty
NoYesPmfProdCoBy.RemainCoByPhysical
SourceMasterPlanIdMaster plan the line is linked to.String
ReqPlanIdSched
NoYesReqPlanSched.ReqPlanIdSchedPmfProdCoBy.ReqPlanIdSched
SourcePlannedOrderNumberNumber of the planned order linked to the line.low confidenceString (20)
ReqPOId
NoYesPmfProdCoBy.ReqPOId
RoundingUpMethodRounding-up rule for the line: no rounding, or by quantity, measurement or consumption.Enum
PmfCoByRoundUp
  • No 0
  • Qty 1
  • MeasureConfig 2
  • Consumption 3
NoYesPmfProdCoBy.RoundUp
RoundingUpMultiplesByProductQuantityMultiple used when rounding up the quantity.Real
PmfRoundUpQty
NoYesPmfProdCoBy.RoundUpQty
StartedDateDate the line was started.Date
TransDate
NoYesPmfProdCoBy.StUpDate
SubcontractingPurchaseOrderNumberNumber of the purchase order used for subcontracting.String (20)
PurchId
NoYescomputed
SubcontractingPurchaseOrderLineInventoryLotIdReference lot of the subcontracting purchase order line.String (20)
InventRefTransId
NoYescomputed
BatchOrderNumberUnique ID of the production order.String (20)
ProdId
YesYesProdTable.ProdId
DefaultDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ConsumptionSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ConsumptionWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
InventoryOwnerIdInventory owner; used for Russia.String (40)
InventOwnerId
NoYesInventOwner_RU.InventOwnerIdInventDim.InventOwnerId_RU
InventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId

Foreign keys (14)

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.

Need help with ProdBatchOrderByProductV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk