Table

InventQualityOrderLine

Quality order lines

Holds the test lines of a quality order. The key is the quality order and a sequence number. Each line links to a test, a variable, a test instrument and a unit. It stores limits, tolerances and sampling quantities.

Table name
InventQualityOrderLine
Module
Inventory
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
InventQualityManagement
Primary index
QualityOrderTestSequenceIdx
Replacement key
QualityOrderTestSequenceIdx
Key fields
QualityOrderId, TestSequence
Model
Foundation

Fields (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
QualityOrderIdQuality order the line belongs to. Points to a quality order.String (20)
InventQualityOrderId
YesInventQualityOrderTable.QualityOrderIdQMSQualityOrderLineCOACustomerRequirementEntity
TestSequenceSequence number of the line within the quality order.Integer
InventTestSequence
YesQMSQualityOrderLineCOACustomerRequirementEntity
AcceptableQualityLevelAcceptable quality level for the test.Real
InventAcceptableQualityLevel
YesNone
ActionOnFailureAction when the test fails: Fail or Accept.Enum
InventTestActionOnFailure (enum)
NoNone
CertificateOfAnalysisReportYes/No flag for the certificate of analysis report.Enum
InventCertificateOfAnalysisReport
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IncludeResultsYes/No flag for including results.low confidenceEnum
NoYes (enum)
NoNone
LowerLimitMinimum allowed value.Real
InventTestLowerLimit
NoNone
LowerToleranceMinimum tolerance, as a percentage.Real
InventTestLowerTolerance
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsAttribValueValue of the batch attribute.String (30)
PdsAttribValue
NoNone
PdsBatchAttribIdBatch attribute. Points to a batch attribute record.String (20)
PdsBatchAttribId
NoPdsBatchAttrib.PdsBatchAttribIdNone
PdsBatchAttribOverrideYes/No flag to override the batch attribute.Enum
NoYesId
NoYes (enum)
NoNone
PdsCWTestResultQuantityResult quantity in catch weight.Real
PdsCWInventTestResultQuantity
NoNone
PdsOrderLineResultTest value recorded for the line.String (30)
PdsOrderLineResult
NoNone
PdsUpdateBatchAttributesYes/No flag to update the inventory batch attribute.Enum
PdsUpdateInvBatchAttributes
NoYes (enum)
NoNone
QMSAQLAcceptableToleranceAcceptanceNumberTarget number of defects allowed to accept the lot or batch.Integer
QMSAQLDefectAcceptanceNumber
NoNone
QMSAQLAcceptableToleranceRejectionNumberTarget number of defects that leads to rejecting the lot or batch.Integer
QMSAQLDefectRejectionNumber
NoNone
QMSAQLActualRejectionNumberActual number of items that failed the acceptance criteria.Integer
QMSAQLDefectRejectionNumber
NoNone
QMSAQLSampleTestQtyQuantity to be tested for this test.Real
QMSAQLSampleTestQty
NoNone
QMSSkipTestYes/No flag to skip the test on this line.Enum
QMSSkipTest
NoYes (enum)
NoNone
QMSTestInstrumentTagNumberDefault instrument tag for new result lines. Points to a test instrument tag.String (50)
QMSTestInstrumentTagNumber
NoQMSInventTestInstrumentTag.TagNumberNone
QMSTestInstrumentUsageCountNumber of uses of the instrument tag since its most recent calibration.low confidenceInteger
QMSUsageCountSinceLastCalibration
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StandardValueStandard value for the test.Real
InventTestStandardValue
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TestIdTest used on the line. Points to a test record.String (20)
InventTestId
YesInventTestTable.TestIdNone
TestInstrumentIdTest instrument used. Points to a test instrument record.String (20)
InventTestInstrumentId
NoInventTestInstrument.TestInstrumentIdNone
TestResultWhether the line counts in the result: Fail or Pass.low confidenceEnum
InventTestOutcomeStatus (enum)
NoNone
TestUnitIdUnit of measure for the test. Points to a unit record.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
UpperLimitMaximum allowed value.Real
InventTestUpperLimit
NoNone
UpperToleranceMaximum tolerance, as a percentage.Real
InventTestUpperTolerance
NoNone
VariableIdTest variable used on the line. Points to a test variable record.String (20)
InventTestVariableId
NoInventTestVariable.VariableIdNone
VariableOutcomeIdStandardDefault outcome for the variable. Points to a test variable outcome.String (20)
InventTestVariableOutcomeIdStandard
NoInventTestVariableOutcome.VariableOutcomeIdNone

Indexes (1)

Relations (8)

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

  • InventQualityOrderTable → InventQualityOrderTable

    Join on QualityOrderId = InventQualityOrderTable.QualityOrderId

    Many InventQualityOrderLine records → exactly one InventQualityOrderTable record

  • InventTestInstrument → InventTestInstrument

    Join on TestInstrumentId = InventTestInstrument.TestInstrumentId

    Many InventQualityOrderLine records → zero or one InventTestInstrument record

  • InventTestTable → InventTestTable

    Join on TestId = InventTestTable.TestId

    Many InventQualityOrderLine records → exactly one InventTestTable record

  • InventTestVariable → InventTestVariable

    Join on VariableId = InventTestVariable.VariableId

    Many InventQualityOrderLine records → zero or one InventTestVariable record

  • InventTestVariableOutcome → InventTestVariableOutcome

    Join on VariableId = InventTestVariableOutcome.VariableId, VariableOutcomeIdStandard = InventTestVariableOutcome.VariableOutcomeId

    Many InventQualityOrderLine records → zero or one InventTestVariableOutcome record

  • PdsBatchAttrib → PdsBatchAttrib

    Join on PdsBatchAttribId = PdsBatchAttrib.PdsBatchAttribId

    Many InventQualityOrderLine records → zero or one PdsBatchAttrib record

  • UnitOfMeasure → UnitOfMeasure

    Join on TestUnitId = UnitOfMeasure.Symbol

    Many InventQualityOrderLine records → zero or one UnitOfMeasure record

  • QMSInventTestInstrumentTag → QMSInventTestInstrumentTag

    Join on QMSInventTestInstrumentTag.UsageStatus = 2, QMSInventTestInstrumentTag.UsageStatus = 1, TestInstrumentId = QMSInventTestInstrumentTag.TestInstrumentId, QMSTestInstrumentTagNumber = QMSInventTestInstrumentTag.TagNumber

    Many InventQualityOrderLine records → zero or one QMSInventTestInstrumentTag record

Get this data out

Tables are not exposed directly. These public entities read from InventQualityOrderLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk