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 descriptionType / EDT / enumMandatoryReferencesIn public entities
FlexibleSamplingPlanIdUnique code of the flexible sampling plan.String
QMSFlexibleSamplingPlanId
YesQMSFlexibleSamplingPlanEntity
ApprovedYes/No value showing whether the plan is approved.Enum
QMSApproved
NoYes (enum)
NoQMSFlexibleSamplingPlanEntity
ConsolidateRoundsByHow rounds are consolidated: none or by transaction line.Enum
QMSConsolidateRoundsBy (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text describing the plan.String (60)
Description
NoQMSFlexibleSamplingPlanEntity
LastLevelNumber of the last level in the plan.Integer
QMSLastLevel
NoQMSFlexibleSamplingPlanEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SecurityRoleThe security role that receives alerts for this plan.String (40)
SecurityRoleAotName
NoQMSFlexibleSamplingPlanEntity
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

Indexes (2)

Relations (1)

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

  • SecurityRole → SecurityRole

    Join on SecurityRole = SecurityRole.AotName

    Many 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.

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

Email sales@drdynamics.co.uk