Data entity

InventQualityOrderHeaderEntity

Quality order headers, identified by the quality order number. Each one holds the item, quantity, lot and inventory dimensions, the test group and its settings, status, and what the order refers to, such as a purchase, sales, production or transfer order. It also links to worker, dimension set and priority records.

Entity name
InventQualityOrderHeaderEntity
Public entity name
QualityOrderHeader
OData collection
QualityOrderHeaders
Category
Document
Module
Inventory and warehouse management
Read-only
No
Data management enabled
Yes
Configuration key
InventQualityManagement
Keys
QualityOrderNumber
Staging table
InventQualityOrderHeaderStaging

Use it in Power BI and Power Platform

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

  • InventQualityOrderTable · root
  • DefaultDimensionDAVS (table DimensionSetEntity) · OuterJoin to InventQualityOrderTable · read-only
  • HcmWorkerEntity · OuterJoin to InventQualityOrderTable · read-only
  • InventDim · OuterJoin to InventQualityOrderTable · read-only
  • QMSHcmWorkerEntity (table HcmWorkerEntity) · OuterJoin to InventQualityOrderTable · read-only
  • QMSInventQualityOrderPriority · OuterJoin to InventQualityOrderTable · read-only

Fields (64)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AcceptableQualityLevelPercentageThe acceptable quality level (AQL) value set on the quality order.Real
InventAcceptableQualityLevel
NoYesInventQualityOrderTable.AcceptableQualityLevel
DefaultDimensionPoints to the default financial dimension values for the order.Int64
InventSiteLinkedDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdInventQualityOrderTable.DefaultDimension
FailedOrderInventoryStatusIdThe inventory status given to the stock if the quality order fails.String
InventTestFailedInventStatusId
NoYesWHSInventStatus.InventStatusIdInventQualityOrderTable.FailedInventStatusId
InventDimIdPoints to the inventory dimension record (such as site, warehouse or batch) for this order.String (20)
InventDimId
NoNo (private)InventDim.inventDimIdInventQualityOrderTable.InventDimId
DemandInventoryLotIdThe ID of the source document, for example a quarantine order, transfer order or production order.String (20)
InventRefId
NoNo (private)InventQuarantineOrder.QuarantineIdInventTransferTable.TransferIdProdTable.ProdIdInventQualityOrderTable.InventRefId
ReferenceInventoryLotIdThe lot ID of the source document line, such as a goods in transit, transfer or co-product line.String (20)
InventRefTransId
NoYesITMGoodsInTransitOrder.InventTransIdInventTransferLine.InventTransIdPmfProdCoBy.InventTransIdPurchLine.InventTransIdSalesLine.InventTransIdWHSInboundShipmentOrderLine.InventTransIdInventQualityOrderTable.InventRefTransId
InventoryLotIdThe lot ID that links the order to its inventory transaction origin.String (20)
InventTransId
NoYesInventTransOrigin.InventTransIdInventQualityOrderTable.InventTransId
ItemNumberThe item that the quality order is for.String (20)
ItemIdInventoried
YesYesInventTable.ItemIdInventQualityOrderTable.ItemId
ProductNameThe name of the item being tested.String (60)
ItemName
NoYesInventQualityOrderTable.ItemName
ItemSamplingIdThe item sampling record used for this order.String
InventItemSamplingId
NoYesInventItemSampling.InventItemSamplingIdInventQualityOrderTable.ItemSamplingId
ProductionOrderRouteOperationNumberThe operation number in the production route that the order refers to.Integer
OprNum
NoYesProdRoute.OprNumInventQualityOrderTable.OprNum
QualityOrderStatusThe current result of the order: open, fail or pass.Enum
InventTestOrderStatus
  • Open 0
  • Fail 1
  • Pass 2
NoYesInventQualityOrderTable.OrderStatus
PassedInventoryStatusIdThe inventory status given to the stock if the quality order passes.String
InventTestPassedInventStatusId
NoYesWHSInventStatus.InventStatusIdInventQualityOrderTable.PassedInventStatusId
CatchWeightQuantityThe order quantity in catch weight units.Real
PdsCWInventQualityOrderQty
NoYesInventQualityOrderTable.PdsCWQty
FailedBatchDispositionCodeThe batch disposition code applied if the quality order fails.String
PdsFailedQualityDispositionCode
NoYesPdsDispositionMaster.DispositionCodeInventQualityOrderTable.PdsFailedQualityDispositionCode
PassedBatchDispositionCodeThe batch disposition code applied if the quality order passes.String
PdsPassQualityDispositionCode
NoYesPdsDispositionMaster.DispositionCodeInventQualityOrderTable.PdsPassQualityDispositionCode
IsBatchDispositionStatusDefaultedWithTestMeasurementYes/No flag for whether the batch disposition is updated.Enum
PdsUpdateBatchDisp
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.PdsUpdateBatchDisp
IsBatchAttributeValueDefaultedWithTestMeasurementYes/No flag for whether inventory batch attributes are updated.Enum
PdsUpdateInvBatchAttributes
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.PdsUpdateInvBatchAttributes
InventoryQuantityThe quantity covered by the quality order.Real
InventQualityOrderQty
YesYesInventQualityOrderTable.Qty
QualityOrderNumberThe unique ID of the quality order.String (15)
InventQualityOrderId
NoYesTaxEngineQualityOrderTableHeader.QualityOrderIdInventQualityOrderTable.QualityOrderId
IsQualityOrderFailureCreatingQuantineOrderYes/No flag for whether stock goes to quarantine when validation fails.Enum
InventTestQuarantineOnFailure
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.QuarantineOnFailure
QualityOrderPolicyTypeThe kind of source document the order comes from, such as sales, purchase, production or transfer.Enum
InventTestReferenceType
  • Inventory 0
  • Sales 1
  • Purch 2
  • Production 3
  • Quarantine 4
  • RouteOpr 5
  • PmfProdCoBy 100
  • QMSReturn 112
  • QMSTransfer 111
  • ITMGoodsInTransitOrder
  • WHSInboundShipmentOrder
NoYesInventQualityOrderTable.ReferenceType
RouteIdThe production route number linked to the order.String (20)
RouteId
NoYesRouteTable.RouteIdInventQualityOrderTable.RouteId
RouteOperationIdThe route operation that the order refers to.String
RouteOprId
NoYesRouteOprTable.OprIdInventQualityOrderTable.RouteOprId
IsDestructiveTestYes/No flag showing whether the test is destructive.Enum
InventTestDestructive
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.TestDestructive
QualityTestGroupIdThe test group that defines the tests for this order.String
InventTestGroupId
YesYesInventTestGroup.TestGroupIdInventQualityOrderTable.TestGroupId
IsInventoryStatusDefaultedWithTestMeasurementYes/No flag for whether the inventory status is updated after testing.Enum
InventTestUpdateInventStatus
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.UpdateInventStatus
ValidatedByWorkerRecIdThe worker who validated the order.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdInventQualityOrderTable.ValidatedByWorker
ValidatedDateTimeThe date and time the order was validated.UtcDateTime
TransDateTime
NoYesInventQualityOrderTable.ValidatedDateTime
OperationsResourceIdThe resource linked to the order.String
WrkCtrIdBase
NoYesWrkCtrTable.WrkCtrIdInventQualityOrderTable.WrkCtrId
ValidatingPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
CustomerAccountNumberCustomer account that the quality order relates to.String (20)
CustAccount
NoYescomputed
VendorAccountNumberVendor account that the quality order relates to.String (20)
VendAccount
NoYescomputed
ProductionOrderNumberProduction order that the quality order refers to.String (20)
ProdId
NoYescomputed
PurchaseOrderNumberPurchase order that the quality order refers to.String (20)
PurchId
NoYescomputed
SalesOrderNumberSales order that the quality order refers to.String (20)
SalesId
NoYescomputed
AccountRelationThe customer or vendor account that the order's account selection points to.String (20)
InventTestAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumInventQualityOrderTable.AccountRelation
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
InventoryOwnerIdInventory owner; used for Russia.String (40)
InventOwnerId
NoYesInventOwner_RU.InventOwnerIdInventDim.InventOwnerId_RU
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
InventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
LicensePlateNumberLicense plate ID of the stock unit.String (25)
WHSLicensePlateId
NoYesWHSLicensePlate.LicensePlateIdInventDim.LicensePlateId
WarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
InventorySiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ItemSerialNumberSerial number of the inventory.String (20)
InventSerialId
NoYesInventDim.inventSerialId
WarehouseLocationIdLocation inside the warehouse.String
WMSLocationId
NoYesWMSLocation.wMSLocationIdInventDim.wMSLocationId
QMSSReturnOrderNumberSales order number used when the quality order comes from a return.low confidenceString (20)
SalesId
NoYescomputed
QMSTransferOrderNumberTransfer order that the quality order refers to.String (20)
InventTransferId
NoYescomputed
QMSAQLOriginalLotQuantityThe starting lot size used to work out the sample quantity.Real
QMSAQLOriginalLotQty
NoYesInventQualityOrderTable.QMSAQLOriginalLotQty
QMSAssignedToThe worker the quality order is assigned to.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdInventQualityOrderTable.QMSAssignedTo
QMSAssignedToPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
QMSFlexibleSamplingPlanCodeThe code of the flexible sampling plan used by the order.String
QMSFlexibleSamplingPlanId
NoYesQMSInventFlexSamplingPlanTable.FlexibleSamplingPlanIdInventQualityOrderTable.QMSFlexibleSamplingPlanId
QMSPriorityRecIdPoints to the priority record that ranks this quality order's testing work.Int64
RefRecId
NoNo (private)QMSInventQualityOrderPriority.RecIdInventQualityOrderTable.QMSPriorityRecId
QMSPriorityIdUnique code of the quality order priority.String
QMSInventQualityOrderPriorityId
YesYesQMSInventQualityOrderPriority.PriorityId
QMSUseForCertificateOfAnalysisYes/No flag for whether the order feeds a certificate of analysis.Enum
QMSUseForCertOfAnalysis
NoYes

Platform enum: values not in the metadata extract.

NoYesInventQualityOrderTable.QMSUseForCertOfAnalysis
QMSReturnCustomerAccountNumberCustomer account linked to a returned item on the quality order.low confidenceString (20)
CustAccount
NoYescomputed
QMSSampleIdThe ID of the sample linked to the order.String (20)
QMSSampleId
NoYesQMSSample.SampleIdInventQualityOrderTable.QMSSampleId
QMSSampleInspectionMethodHow the sample is inspected: none, inline process, continuous process or both.Enum
QMSSampleInspectionMethod
  • None 0
  • Inline 1
  • Continuous 2
  • Both 3
NoYesInventQualityOrderTable.QMSSampleInspectionMethod
InboundShipmentOrderNumberIdentifier of the inbound shipment order that the quality order refers to.String (20)
WHSInboundShipmentOrderId
NoYescomputed

Foreign keys (42)

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 InventQualityOrderHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk