Table
InventTestAssociationTable
Quality associations
Stores quality associations. Each one links a type of event and reference (such as sales, purchase or production) to a test group, item, customer or vendor, and resource selection. It also holds sampling, quarantine, priority and stability test settings. Each row is identified by a creation sequence number.
- Table name
InventTestAssociationTable- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
InventQualityManagement- Primary index
RecId- Replacement key
AssociationCreationSequenceIdx- Key fields
AssociationCreationSequenceNumber- Model
Foundation
Fields (38)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AssociationCreationSequenceNumberSequence number given to the association when it was created. It is the key of the table. | IntegerInventTestAssociationCreationSequenceNumber | No | None | |
AcceptableQualityLevelThe acceptable quality level set for the association. | RealInventAcceptableQualityLevel | No | None | |
AccountCodeShows whether the account selection is for one account (table), a group or all accounts. | EnumInventTestAccountCodeTableGroupAll (enum) | No | None | |
AccountRelationThe customer, vendor or group chosen, depending on the account code. | String (20)InventTestAccountRelation | No | CustGroup.CustGroupCustTable.AccountNumRouteGroup.RouteGroupIdRouteOprTable.OprIdVendGroup.VendGroupVendTable.AccountNumWHSConsignerGroup.ConsignerGroupIdWHSConsignerTable.InternalAccountNumber | None |
ApplicableWarehouseTypeThe warehouse type the association applies to, either all or quality-management warehouses. | EnumWHSApplicableWarehouseType (enum) | No | None | |
BlockProcessThe event that is blocked, such as product receipt, picking, packing slip or invoice. | EnumInventTestBlockProcess (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentTypeThe type of event the association applies to, such as packing slip, receipts list or product receipt. | EnumInventTestDocumentTypeInventTestDocumentStatus (enum) | No | None | |
InventDimIdIdentifies the inventory dimensions that apply to the association. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventSiteIdThe site the association applies to. | StringInventSiteId | No | InventSite.SiteId | None |
ItemCodeShows whether the item selection is for one item (table), a group or all items. | EnumInventTestItemCodeTableGroupAll (enum) | No | None | |
ItemRelationThe item or quality group chosen, depending on the item code. | String (20)InventTestItemRelation | No | InventTable.ItemIdInventTestQualityGroup.TestQualityGroupId | None |
ItemSamplingIdThe item sampling record used by the association. | StringInventItemSamplingId | No | InventItemSampling.InventItemSamplingId | None |
OrderTypeThe type of reference the association applies to, such as sales, purchase, production or transfer. | EnumInventTestReferenceType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QMSAssignedToThe worker given responsibility for quality orders created from this association. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
QMSFlexibleSamplingYes/No flag showing if flexible sampling is used for the association. | EnumQMSFlexibleSamplingNoYes (enum) | No | None | |
QMSFlexibleSamplingPlanIdThe flexible sampling plan used by the association. | StringQMSFlexibleSamplingPlanId | No | QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanId | None |
QMSGenerationTypeWhether quality orders are generated by events or by time. | EnumQMSGenerationType (enum) | No | None | |
QMSPriorityRecIdThe quality order priority that new quality orders receive from this association. | Int64RefRecId | No | QMSInventQualityOrderPriority.RecId | None |
QMSStabilityFrequencyValueNumber of days between repeat stability tests for a batch. | IntegerQMSStabilityFrequencyValue | No | None | |
QMSStabilityQualityOrderGenerationWhen the quality order is generated: at the end of the interval or at the start of the test window. | EnumQMSStabilityQualityOrderGeneration (enum) | No | None | |
QMSStabilityWindowEarlyValueHow many days before the target date a quality order may be created. | IntegerQMSStabilityWindowValue | No | None | |
QMSStabilityWindowLateValueHow many days after the target date a quality order may still be created. | IntegerQMSStabilityWindowValue | No | None | |
QMSUseForCertOfAnalysisYes/No flag showing if the association is used for certificates of analysis. | EnumQMSUseForCertOfAnalysisNoYes (enum) | No | None | |
QualityProcessingPolicyWhether the association creates only work or also a quality order. | EnumWHSQualityProcessingPolicy (enum) | No | None | |
QuarantineOnFailureYes/No flag for whether stock is quarantined when validation fails. | EnumInventTestQuarantineOnFailureNoYes (enum) | 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 | |
showInfoOnCreateYes/No flag for showing information when the record is created. Exact behaviour is not stated.low confidence | EnumNoYes (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 | |
TestExecutionWhether the test runs before or after the event, or not at all. | EnumInventTestExecution (enum) | No | None | |
TestGroupIdThe test group used by the association. | StringInventTestGroupId | No | InventTestGroup.TestGroupId | None |
ValidFromDateTimeStart of the period when the association is valid, in UTC. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDateTimeEnd of the period when the association is valid, in UTC. | UtcDateTimeValidToDateTime | Yes | None | |
WrkCtrCodeShows whether the resource selection is for one resource (table), a group or all resources. | EnumInventTestWrkCtrCodeTableGroupAll (enum) | No | None | |
WrkCtrRelationThe resource chosen for the association. | StringWrkCtrIdBase | No | WrkCtrTable.WrkCtrId | None |
Indexes (4)
AssociationIdxOrderType,ItemCode,AccountCode,ItemRelation,AccountRelation,WrkCtrCode,WrkCtrRelation,DocumentType,InventSiteId,ValidFromDateTime,ValidToDateTime,TestExecution,TestGroupIdNot unique.
ItemSamplingIdxNot unique.
AssociationCreationSequenceIdxReplacement keyAssociationCreationSequenceNumberUnique, alternate key.
QMSStabilityActiveAssociationsIdxOrderType,QMSGenerationType,ValidFromDateTimeNot unique.
Relations (21)
Each relation joins InventTestAssociationTable to another table on the fields shown.
CustGroup→CustGroupJoin on
OrderType = InventTestReferenceType::Sales,AccountCode = TableGroupAll::GroupId,AccountRelation = CustGroup.CustGroupMany InventTestAssociationTable records → zero or one CustGroup record
CustTable→CustTableJoin on
OrderType = InventTestReferenceType::Sales,AccountCode = TableGroupAll::Table,AccountRelation = CustTable.AccountNumMany InventTestAssociationTable records → zero or one CustTable record
InventItemSampling→InventItemSamplingJoin on
ItemSamplingId = InventItemSampling.InventItemSamplingIdMany InventTestAssociationTable records → exactly one InventItemSampling record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany InventTestAssociationTable records → zero or one InventSite record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany InventTestAssociationTable records → zero or one InventTable record
InventTestGroup→InventTestGroupJoin on
TestGroupId = InventTestGroup.TestGroupIdMany InventTestAssociationTable records → exactly one InventTestGroup record
InventTestQualityGroup→InventTestQualityGroupJoin on
ItemCode = TableGroupAll::GroupId,ItemRelation = InventTestQualityGroup.TestQualityGroupIdMany InventTestAssociationTable records → zero or one InventTestQualityGroup record
RouteGroup→RouteGroupJoin on
OrderType = InventTestReferenceType::RouteOpr,AccountCode = TableGroupAll::GroupId,AccountRelation = RouteGroup.RouteGroupIdMany InventTestAssociationTable records → zero or one RouteGroup record
RouteOprTable→RouteOprTableJoin on
AccountCode = TableGroupAll::Table,OrderType = InventTestReferenceType::RouteOpr,AccountRelation = RouteOprTable.OprIdMany InventTestAssociationTable records → zero or one RouteOprTable record
VendGroup→VendGroupJoin on
OrderType = InventTestReferenceType::Purch,AccountCode = TableGroupAll::GroupId,AccountRelation = VendGroup.VendGroupMany InventTestAssociationTable records → zero or one VendGroup record
VendTable→VendTableJoin on
OrderType = InventTestReferenceType::Purch,AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany InventTestAssociationTable records → zero or one VendTable record
WrkCtrTable→WrkCtrTableJoin on
WrkCtrTable.IsIndividualResource = 1,OrderType = InventTestReferenceType::RouteOpr,WrkCtrCode = TableGroupAll::Table,WrkCtrRelation = WrkCtrTable.WrkCtrIdMany InventTestAssociationTable records → zero or one WrkCtrTable record
WrkCtrTableGroup→WrkCtrTableJoin on
WrkCtrTable.IsIndividualResource = null,OrderType = InventTestReferenceType::RouteOpr,WrkCtrCode = TableGroupAll::GroupId,WrkCtrRelation = WrkCtrTable.WrkCtrIdMany InventTestAssociationTable records → zero or one WrkCtrTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany InventTestAssociationTable records → zero or one InventDim record
QMSInventFlexSamplingPlanTable→QMSInventFlexSamplingPlanTableJoin on
QMSFlexibleSamplingPlanId = QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanIdMany InventTestAssociationTable records → exactly one QMSInventFlexSamplingPlanTable record
QMSCustTableReturn→CustTableJoin on
AccountRelation = CustTable.AccountNum,AccountCode = TableGroupAll::Table,OrderType = InventTestReferenceType::QMSReturnMany InventTestAssociationTable records → zero or one CustTable record
QMSCustGroupReturn→CustGroupJoin on
AccountRelation = CustGroup.CustGroup,OrderType = InventTestReferenceType::QMSReturn,AccountCode = TableGroupAll::GroupIdMany InventTestAssociationTable records → zero or one CustGroup record
QMSInventQualityOrderPriority→QMSInventQualityOrderPriorityJoin on
QMSPriorityRecId = QMSInventQualityOrderPriority.RecIdMany InventTestAssociationTable records → zero or one QMSInventQualityOrderPriority record
QMSAssignedTo→HcmWorkerJoin on
QMSAssignedTo = HcmWorker.RecIdMany InventTestAssociationTable records → zero or one HcmWorker record
WHSConsignerGroup→WHSConsignerGroupJoin on
OrderType = InventTestReferenceType::WHSInboundShipmentOrder,AccountCode = TableGroupAll::GroupId,AccountRelation = WHSConsignerGroup.ConsignerGroupIdMany InventTestAssociationTable records → zero or one WHSConsignerGroup record
WHSConsigner→WHSConsignerTableJoin on
OrderType = InventTestReferenceType::WHSInboundShipmentOrder,AccountCode = TableGroupAll::Table,AccountRelation = WHSConsignerTable.InternalAccountNumberMany InventTestAssociationTable records → zero or one WHSConsignerTable record
Get this data out
No public entity reads from InventTestAssociationTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventTestAssociationTable in a report, an integration or a migration? Talk to Dr Dynamics.