Table
QMSInventFlexSamplingPlanTable
Flexible sampling plans
Holds the header of each flexible sampling plan, identified by a plan code. It stores a description, approval flag, last level, an alert security role and how rounds are consolidated. Plan levels are held in the plan lines table.
- Table name
QMSInventFlexSamplingPlanTable- Module
Cross-module and platform- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
FlexibleSamplingPlanIdx- Replacement key
FlexibleSamplingPlanIdx- Key fields
FlexibleSamplingPlanId- Model
AdvancedQualityManagement
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FlexibleSamplingPlanIdUnique code of the flexible sampling plan. | StringQMSFlexibleSamplingPlanId | Yes | QMSFlexibleSamplingPlanEntity | |
ApprovedYes/No value showing whether the plan is approved. | EnumQMSApprovedNoYes (enum) | No | QMSFlexibleSamplingPlanEntity | |
ConsolidateRoundsByHow rounds are consolidated: none or by transaction line. | EnumQMSConsolidateRoundsBy (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text describing the plan. | String (60)Description | No | QMSFlexibleSamplingPlanEntity | |
LastLevelNumber of the last level in the plan. | IntegerQMSLastLevel | No | QMSFlexibleSamplingPlanEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
SecurityRoleThe security role that receives alerts for this plan. | String (40)SecurityRoleAotName | No | QMSFlexibleSamplingPlanEntity | |
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 |
Indexes (2)
SecurityRoleIdxNot unique.
FlexibleSamplingPlanIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins QMSInventFlexSamplingPlanTable to another table on the fields shown.
SecurityRole→SecurityRoleJoin on
SecurityRole = SecurityRole.AotNameMany QMSInventFlexSamplingPlanTable records → exactly one SecurityRole record
Get this data out
Tables are not exposed directly. These public entities read from QMSInventFlexSamplingPlanTable; use one of them in Power BI, Power Platform or a data management project.
QMSFlexibleSamplingPlanEntity· 5 fields from this tableQMSFlexibleSamplingPlanLineEntity· 0 fields from this table
Need help with QMSInventFlexSamplingPlanTable in a report, an integration or a migration? Talk to Dr Dynamics.