Table
QMSInventFlexSamplingActivityTable
Flexible sampling plan activities
Holds the activities of a flexible sampling plan. Each row is identified by account relation, plan, item, reference type and resource. It links to customers or vendors, items and resources.
- Table name
QMSInventFlexSamplingActivityTable- Module
Cross-module and platform- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
None- Replacement key
QMSInventFlexSamplingActivityTableIdx- Key fields
AccountRelation, FlexibleSamplingPlanId, ItemId, ReferenceType, WrkCtrRelation- Model
AdvancedQualityManagement
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountRelationCustomer or vendor account that the activity applies to. | String (20)InventTestAccountRelation | Yes | CustTable.AccountNumVendTable.AccountNum | None |
FlexibleSamplingPlanIdFlexible sampling plan the activity belongs to. | StringQMSFlexibleSamplingPlanId | Yes | QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanId | None |
ItemIdItem the activity applies to. | String (20)ItemIdInventoried | Yes | InventTable.ItemId | None |
ReferenceTypeKind of transaction the activity applies to, such as sales, purchase or production. | EnumInventTestReferenceType (enum) | Yes | None | |
WrkCtrRelationResource that the activity applies to. | StringWrkCtrIdBase | Yes | WrkCtrTable.WrkCtrId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
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 | |
RoundsToSkipList of rounds in which testing is done. | ContainerQMSRoundsToSkip | 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 |
Indexes (1)
QMSInventFlexSamplingActivityTableIdxReplacement keyAccountRelation,FlexibleSamplingPlanId,ItemId,ReferenceType,WrkCtrRelationUnique, alternate key.
Relations (5)
Each relation joins QMSInventFlexSamplingActivityTable to another table on the fields shown.
CustTable→CustTableJoin on
ReferenceType = InventTestReferenceType::Sales,AccountRelation = CustTable.AccountNumMany QMSInventFlexSamplingActivityTable records → zero or one CustTable record
InventFlexSamplingPlanTable→QMSInventFlexSamplingPlanTableJoin on
FlexibleSamplingPlanId = QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanIdOne or more QMSInventFlexSamplingActivityTable records → exactly one QMSInventFlexSamplingPlanTable record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more QMSInventFlexSamplingActivityTable records → exactly one InventTable record
VendTable→VendTableJoin on
ReferenceType = InventTestReferenceType::Purch,AccountRelation = VendTable.AccountNumMany QMSInventFlexSamplingActivityTable records → zero or one VendTable record
WrkCtrTable→WrkCtrTableJoin on
WrkCtrRelation = WrkCtrTable.WrkCtrIdMany QMSInventFlexSamplingActivityTable records → zero or one WrkCtrTable record
Get this data out
No public entity reads from QMSInventFlexSamplingActivityTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with QMSInventFlexSamplingActivityTable in a report, an integration or a migration? Talk to Dr Dynamics.