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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventFlexSamplingActivityRecIdPoints to the flexible sampling plan activity that owns the line. | Int64QMSInventFlexSamplingActivityTableRecId | Yes | QMSInventFlexSamplingActivityTable.RecId | None |
PlanActivityNumberSequence number of the activity line. | IntegerQMSPlanActivityNumber | Yes | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FailActionCodeAction taken on failure: none, alert, or expire AVL and alert. | EnumQMSFailActionCode (enum) | No | None | |
FailActionLevelPlan level to move to when the fail criteria are met. | IntegerQMSFailActionLevel | No | None | |
InventItemSamplingIdItem sampling record linked to the line. | StringInventItemSamplingId | Yes | InventItemSampling.InventItemSamplingId | None |
InventTestGroupIdTest group linked to the line. | StringInventTestGroupId | Yes | InventTestGroup.TestGroupId | None |
LevelLevel of the plan that the line applies to. | IntegerLevel | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OrderStatusStatus of the quality order: open, fail or pass. | EnumInventTestOrderStatus (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PassActionLevelPlan level to move to when the pass criteria are met. | IntegerQMSPassActionLevel | No | None | |
QualityOrderIdQuality order linked to the line. | String (15)InventQualityOrderId | Yes | InventQualityOrderTable.QualityOrderId | None |
ReasonCodeReason code for a change of sampling level. | StringQMSReasonCode | No | QMSInventFlexSamplingChangeLevelReason.ReasonCode | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReferenceFree reference text for the planning activity. | String (50)QMSPlanActivityReference | No | None | |
RoundNumberNumber of the sample testing round. | IntegerQMSRound | No | None | |
RoundsToSkipList of rounds in which testing is done. | ContainerQMSRoundsToSkip | No | None | |
RoundTrackingNumberNumber of the test within a test round. | IntegerQMSRoundTrackingNumber | No | None | |
SkipYes or No flag showing whether the test round is skipped. | EnumQMSSkipNoYes (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TestPerSampleGroupNumber of tests done within each sample group. | IntegerQMSTestPerSampleGroup | No | None | |
TestSampleGroupSizeSize of the sample group that the test frequency is counted against. | IntegerQMSTestSampleGroupSize | No | None | |
ValidatedByWorkerWorker who validated the quality order. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
ValidatedDateTimeDate and time of the validation. | UtcDateTimeQMSValidatedDateTime | No | None |
Indexes (3)
QMSInventFlexSamplingActivityLineIdxReplacement keyInventFlexSamplingActivityRecId,PlanActivityNumberUnique, alternate key.
InventTestGroupIdxNot unique.
InventQualityOrderTableIdxNot unique.
Relations (6)
Each relation joins QMSInventFlexSamplingActivityLine to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
ValidatedByWorker = HcmWorker.RecIdMany QMSInventFlexSamplingActivityLine records → zero or one HcmWorker record
InventFlexSamplingActivityTable→QMSInventFlexSamplingActivityTableJoin on
InventFlexSamplingActivityRecId = QMSInventFlexSamplingActivityTable.RecIdMany QMSInventFlexSamplingActivityLine records → exactly one QMSInventFlexSamplingActivityTable record
InventItemSampling→InventItemSamplingJoin on
InventItemSamplingId = InventItemSampling.InventItemSamplingIdMany QMSInventFlexSamplingActivityLine records → exactly one InventItemSampling record
InventQualityOrderTable→InventQualityOrderTableJoin on
QualityOrderId = InventQualityOrderTable.QualityOrderIdMany QMSInventFlexSamplingActivityLine records → exactly one InventQualityOrderTable record
InventTestGroup→InventTestGroupJoin on
InventTestGroupId = InventTestGroup.TestGroupIdMany QMSInventFlexSamplingActivityLine records → exactly one InventTestGroup record
ReasonCode→QMSInventFlexSamplingChangeLevelReasonJoin on
ReasonCode = QMSInventFlexSamplingChangeLevelReason.ReasonCodeMany 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.