Table

QMSInventFlexSamplingActivityLine

Flexible sampling plan activity details

Holds the detail lines of a flexible sampling plan activity. Each line has a level, pass and fail levels, test round information, the linked quality order and who validated it. Rows are identified by the activity record and a plan activity number.

Table name
QMSInventFlexSamplingActivityLine
Module
Cross-module and platform
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
InventQualityManagement
Primary index
None
Replacement key
QMSInventFlexSamplingActivityLineIdx
Key fields
InventFlexSamplingActivityRecId, PlanActivityNumber
Model
AdvancedQualityManagement

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventFlexSamplingActivityRecIdPoints to the flexible sampling plan activity that owns the line.Int64
QMSInventFlexSamplingActivityTableRecId
YesQMSInventFlexSamplingActivityTable.RecIdNone
PlanActivityNumberSequence number of the activity line.Integer
QMSPlanActivityNumber
YesNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FailActionCodeAction taken on failure: none, alert, or expire AVL and alert.Enum
QMSFailActionCode (enum)
NoNone
FailActionLevelPlan level to move to when the fail criteria are met.Integer
QMSFailActionLevel
NoNone
InventItemSamplingIdItem sampling record linked to the line.String
InventItemSamplingId
YesInventItemSampling.InventItemSamplingIdNone
InventTestGroupIdTest group linked to the line.String
InventTestGroupId
YesInventTestGroup.TestGroupIdNone
LevelLevel of the plan that the line applies to.Integer
Level
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
OrderStatusStatus of the quality order: open, fail or pass.Enum
InventTestOrderStatus (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PassActionLevelPlan level to move to when the pass criteria are met.Integer
QMSPassActionLevel
NoNone
QualityOrderIdQuality order linked to the line.String (15)
InventQualityOrderId
YesInventQualityOrderTable.QualityOrderIdNone
ReasonCodeReason code for a change of sampling level.String
QMSReasonCode
NoQMSInventFlexSamplingChangeLevelReason.ReasonCodeNone
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
ReferenceFree reference text for the planning activity.String (50)
QMSPlanActivityReference
NoNone
RoundNumberNumber of the sample testing round.Integer
QMSRound
NoNone
RoundsToSkipList of rounds in which testing is done.Container
QMSRoundsToSkip
NoNone
RoundTrackingNumberNumber of the test within a test round.Integer
QMSRoundTrackingNumber
NoNone
SkipYes or No flag showing whether the test round is skipped.Enum
QMSSkip
NoYes (enum)
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
TestPerSampleGroupNumber of tests done within each sample group.Integer
QMSTestPerSampleGroup
NoNone
TestSampleGroupSizeSize of the sample group that the test frequency is counted against.Integer
QMSTestSampleGroupSize
NoNone
ValidatedByWorkerWorker who validated the quality order.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone
ValidatedDateTimeDate and time of the validation.UtcDateTime
QMSValidatedDateTime
NoNone

Indexes (3)

Relations (6)

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

  • HcmWorker → HcmWorker

    Join on ValidatedByWorker = HcmWorker.RecId

    Many QMSInventFlexSamplingActivityLine records → zero or one HcmWorker record

  • InventFlexSamplingActivityTable → QMSInventFlexSamplingActivityTable

    Join on InventFlexSamplingActivityRecId = QMSInventFlexSamplingActivityTable.RecId

    Many QMSInventFlexSamplingActivityLine records → exactly one QMSInventFlexSamplingActivityTable record

  • InventItemSampling → InventItemSampling

    Join on InventItemSamplingId = InventItemSampling.InventItemSamplingId

    Many QMSInventFlexSamplingActivityLine records → exactly one InventItemSampling record

  • InventQualityOrderTable → InventQualityOrderTable

    Join on QualityOrderId = InventQualityOrderTable.QualityOrderId

    Many QMSInventFlexSamplingActivityLine records → exactly one InventQualityOrderTable record

  • InventTestGroup → InventTestGroup

    Join on InventTestGroupId = InventTestGroup.TestGroupId

    Many QMSInventFlexSamplingActivityLine records → exactly one InventTestGroup record

  • ReasonCode → QMSInventFlexSamplingChangeLevelReason

    Join on ReasonCode = QMSInventFlexSamplingChangeLevelReason.ReasonCode

    Many QMSInventFlexSamplingActivityLine records → zero or one QMSInventFlexSamplingChangeLevelReason record

Get this data out

No public entity reads from QMSInventFlexSamplingActivityLine. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk