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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AssociationCreationSequenceNumberSequence number given to the association when it was created. It is the key of the table.Integer
InventTestAssociationCreationSequenceNumber
NoNone
AcceptableQualityLevelThe acceptable quality level set for the association.Real
InventAcceptableQualityLevel
NoNone
AccountCodeShows whether the account selection is for one account (table), a group or all accounts.Enum
InventTestAccountCode
TableGroupAll (enum)
NoNone
AccountRelationThe customer, vendor or group chosen, depending on the account code.String (20)
InventTestAccountRelation
NoCustGroup.CustGroupCustTable.AccountNumRouteGroup.RouteGroupIdRouteOprTable.OprIdVendGroup.VendGroupVendTable.AccountNumWHSConsignerGroup.ConsignerGroupIdWHSConsignerTable.InternalAccountNumberNone
ApplicableWarehouseTypeThe warehouse type the association applies to, either all or quality-management warehouses.Enum
WHSApplicableWarehouseType (enum)
NoNone
BlockProcessThe event that is blocked, such as product receipt, picking, packing slip or invoice.Enum
InventTestBlockProcess (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentTypeThe type of event the association applies to, such as packing slip, receipts list or product receipt.Enum
InventTestDocumentType
InventTestDocumentStatus (enum)
NoNone
InventDimIdIdentifies the inventory dimensions that apply to the association.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventSiteIdThe site the association applies to.String
InventSiteId
NoInventSite.SiteIdNone
ItemCodeShows whether the item selection is for one item (table), a group or all items.Enum
InventTestItemCode
TableGroupAll (enum)
NoNone
ItemRelationThe item or quality group chosen, depending on the item code.String (20)
InventTestItemRelation
NoInventTable.ItemIdInventTestQualityGroup.TestQualityGroupIdNone
ItemSamplingIdThe item sampling record used by the association.String
InventItemSamplingId
NoInventItemSampling.InventItemSamplingIdNone
OrderTypeThe type of reference the association applies to, such as sales, purchase, production or transfer.Enum
InventTestReferenceType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QMSAssignedToThe worker given responsibility for quality orders created from this association.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone
QMSFlexibleSamplingYes/No flag showing if flexible sampling is used for the association.Enum
QMSFlexibleSampling
NoYes (enum)
NoNone
QMSFlexibleSamplingPlanIdThe flexible sampling plan used by the association.String
QMSFlexibleSamplingPlanId
NoQMSInventFlexSamplingPlanTable.FlexibleSamplingPlanIdNone
QMSGenerationTypeWhether quality orders are generated by events or by time.Enum
QMSGenerationType (enum)
NoNone
QMSPriorityRecIdThe quality order priority that new quality orders receive from this association.Int64
RefRecId
NoQMSInventQualityOrderPriority.RecIdNone
QMSStabilityFrequencyValueNumber of days between repeat stability tests for a batch.Integer
QMSStabilityFrequencyValue
NoNone
QMSStabilityQualityOrderGenerationWhen the quality order is generated: at the end of the interval or at the start of the test window.Enum
QMSStabilityQualityOrderGeneration (enum)
NoNone
QMSStabilityWindowEarlyValueHow many days before the target date a quality order may be created.Integer
QMSStabilityWindowValue
NoNone
QMSStabilityWindowLateValueHow many days after the target date a quality order may still be created.Integer
QMSStabilityWindowValue
NoNone
QMSUseForCertOfAnalysisYes/No flag showing if the association is used for certificates of analysis.Enum
QMSUseForCertOfAnalysis
NoYes (enum)
NoNone
QualityProcessingPolicyWhether the association creates only work or also a quality order.Enum
WHSQualityProcessingPolicy (enum)
NoNone
QuarantineOnFailureYes/No flag for whether stock is quarantined when validation fails.Enum
InventTestQuarantineOnFailure
NoYes (enum)
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
showInfoOnCreateYes/No flag for showing information when the record is created. Exact behaviour is not stated.low confidenceEnum
NoYes (enum)
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
TestExecutionWhether the test runs before or after the event, or not at all.Enum
InventTestExecution (enum)
NoNone
TestGroupIdThe test group used by the association.String
InventTestGroupId
NoInventTestGroup.TestGroupIdNone
ValidFromDateTimeStart of the period when the association is valid, in UTC.UtcDateTime
ValidFromDateTime
NoNone
ValidToDateTimeEnd of the period when the association is valid, in UTC.UtcDateTime
ValidToDateTime
YesNone
WrkCtrCodeShows whether the resource selection is for one resource (table), a group or all resources.Enum
InventTestWrkCtrCode
TableGroupAll (enum)
NoNone
WrkCtrRelationThe resource chosen for the association.String
WrkCtrIdBase
NoWrkCtrTable.WrkCtrIdNone

Indexes (4)

Relations (21)

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

  • CustGroup → CustGroup

    Join on OrderType = InventTestReferenceType::Sales, AccountCode = TableGroupAll::GroupId, AccountRelation = CustGroup.CustGroup

    Many InventTestAssociationTable records → zero or one CustGroup record

  • CustTable → CustTable

    Join on OrderType = InventTestReferenceType::Sales, AccountCode = TableGroupAll::Table, AccountRelation = CustTable.AccountNum

    Many InventTestAssociationTable records → zero or one CustTable record

  • InventItemSampling → InventItemSampling

    Join on ItemSamplingId = InventItemSampling.InventItemSamplingId

    Many InventTestAssociationTable records → exactly one InventItemSampling record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many InventTestAssociationTable records → zero or one InventSite record

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many InventTestAssociationTable records → zero or one InventTable record

  • InventTestGroup → InventTestGroup

    Join on TestGroupId = InventTestGroup.TestGroupId

    Many InventTestAssociationTable records → exactly one InventTestGroup record

  • InventTestQualityGroup → InventTestQualityGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventTestQualityGroup.TestQualityGroupId

    Many InventTestAssociationTable records → zero or one InventTestQualityGroup record

  • RouteGroup → RouteGroup

    Join on OrderType = InventTestReferenceType::RouteOpr, AccountCode = TableGroupAll::GroupId, AccountRelation = RouteGroup.RouteGroupId

    Many InventTestAssociationTable records → zero or one RouteGroup record

  • RouteOprTable → RouteOprTable

    Join on AccountCode = TableGroupAll::Table, OrderType = InventTestReferenceType::RouteOpr, AccountRelation = RouteOprTable.OprId

    Many InventTestAssociationTable records → zero or one RouteOprTable record

  • VendGroup → VendGroup

    Join on OrderType = InventTestReferenceType::Purch, AccountCode = TableGroupAll::GroupId, AccountRelation = VendGroup.VendGroup

    Many InventTestAssociationTable records → zero or one VendGroup record

  • VendTable → VendTable

    Join on OrderType = InventTestReferenceType::Purch, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many InventTestAssociationTable records → zero or one VendTable record

  • WrkCtrTable → WrkCtrTable

    Join on WrkCtrTable.IsIndividualResource = 1, OrderType = InventTestReferenceType::RouteOpr, WrkCtrCode = TableGroupAll::Table, WrkCtrRelation = WrkCtrTable.WrkCtrId

    Many InventTestAssociationTable records → zero or one WrkCtrTable record

  • WrkCtrTableGroup → WrkCtrTable

    Join on WrkCtrTable.IsIndividualResource = null, OrderType = InventTestReferenceType::RouteOpr, WrkCtrCode = TableGroupAll::GroupId, WrkCtrRelation = WrkCtrTable.WrkCtrId

    Many InventTestAssociationTable records → zero or one WrkCtrTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many InventTestAssociationTable records → zero or one InventDim record

  • QMSInventFlexSamplingPlanTable → QMSInventFlexSamplingPlanTable

    Join on QMSFlexibleSamplingPlanId = QMSInventFlexSamplingPlanTable.FlexibleSamplingPlanId

    Many InventTestAssociationTable records → exactly one QMSInventFlexSamplingPlanTable record

  • QMSCustTableReturn → CustTable

    Join on AccountRelation = CustTable.AccountNum, AccountCode = TableGroupAll::Table, OrderType = InventTestReferenceType::QMSReturn

    Many InventTestAssociationTable records → zero or one CustTable record

  • QMSCustGroupReturn → CustGroup

    Join on AccountRelation = CustGroup.CustGroup, OrderType = InventTestReferenceType::QMSReturn, AccountCode = TableGroupAll::GroupId

    Many InventTestAssociationTable records → zero or one CustGroup record

  • QMSInventQualityOrderPriority → QMSInventQualityOrderPriority

    Join on QMSPriorityRecId = QMSInventQualityOrderPriority.RecId

    Many InventTestAssociationTable records → zero or one QMSInventQualityOrderPriority record

  • QMSAssignedTo → HcmWorker

    Join on QMSAssignedTo = HcmWorker.RecId

    Many InventTestAssociationTable records → zero or one HcmWorker record

  • WHSConsignerGroup → WHSConsignerGroup

    Join on OrderType = InventTestReferenceType::WHSInboundShipmentOrder, AccountCode = TableGroupAll::GroupId, AccountRelation = WHSConsignerGroup.ConsignerGroupId

    Many InventTestAssociationTable records → zero or one WHSConsignerGroup record

  • WHSConsigner → WHSConsignerTable

    Join on OrderType = InventTestReferenceType::WHSInboundShipmentOrder, AccountCode = TableGroupAll::Table, AccountRelation = WHSConsignerTable.InternalAccountNumber

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

Email sales@drdynamics.co.uk