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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountRelationCustomer or vendor account that the activity applies to.String (20)
InventTestAccountRelation
YesCustTable.AccountNumVendTable.AccountNumNone
FlexibleSamplingPlanIdFlexible sampling plan the activity belongs to.String
QMSFlexibleSamplingPlanId
YesQMSInventFlexSamplingPlanTable.FlexibleSamplingPlanIdNone
ItemIdItem the activity applies to.String (20)
ItemIdInventoried
YesInventTable.ItemIdNone
ReferenceTypeKind of transaction the activity applies to, such as sales, purchase or production.Enum
InventTestReferenceType (enum)
YesNone
WrkCtrRelationResource that the activity applies to.String
WrkCtrIdBase
YesWrkCtrTable.WrkCtrIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
RoundsToSkipList of rounds in which testing is done.Container
QMSRoundsToSkip
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

Indexes (1)

Relations (5)

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

  • CustTable → CustTable

    Join on ReferenceType = InventTestReferenceType::Sales, AccountRelation = CustTable.AccountNum

    Many QMSInventFlexSamplingActivityTable records → zero or one CustTable record

  • InventFlexSamplingPlanTable → QMSInventFlexSamplingPlanTable

    Join on FlexibleSamplingPlanId = QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanId

    One or more QMSInventFlexSamplingActivityTable records → exactly one QMSInventFlexSamplingPlanTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more QMSInventFlexSamplingActivityTable records → exactly one InventTable record

  • VendTable → VendTable

    Join on ReferenceType = InventTestReferenceType::Purch, AccountRelation = VendTable.AccountNum

    Many QMSInventFlexSamplingActivityTable records → zero or one VendTable record

  • WrkCtrTable → WrkCtrTable

    Join on WrkCtrRelation = WrkCtrTable.WrkCtrId

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

Email sales@drdynamics.co.uk