Table

QMSApprovedCustomerList

Approved customer list

Links customers to items for approved customer purposes over a date range. Both sides can be a single record, a group or all. Records can also be limited by inventory dimension.

Table name
QMSApprovedCustomerList
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
PDS
Primary index
None
Replacement key
ApprovedCustomerListIdx
Key fields
ValidFrom, ItemCode, ItemRelation, CustomerCode, CustomerRelation, InventDimId
Model
AdvancedQualityManagement

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ValidFromFirst date on which the record is valid.Date
ValidFromDate
YesQMSApprovedCustomerItemAssignmentEntity
ItemCodeSays whether the item side is a single item, a group or all items.Enum
TableGroupAll (enum)
YesQMSApprovedCustomerItemAssignmentEntity
ItemRelationItem number or approved item group, depending on the item code.String (20)
QMSItemRelation
NoInventTable.ItemIdQMSApprovedItemGroup.GroupIdQMSApprovedCustomerItemAssignmentEntity
CustomerCodeSays whether the customer side is a single customer, a group or all customers.Enum
TableGroupAll (enum)
YesQMSApprovedCustomerItemAssignmentEntity
CustomerRelationCustomer account or approved customer group, depending on the customer code.String (20)
QMSCustRelation
NoCustTable.AccountNumQMSApprovedCustomerGroup.GroupIdQMSApprovedCustomerItemAssignmentEntity
InventDimIdInventory dimension combination that the record applies to.String (20)
InventDimId
YesInventDim.InventDimIdNone
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
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
ValidToLast date on which the record is valid.Date
ValidToDate
NoQMSApprovedCustomerItemAssignmentEntity

Indexes (3)

Relations (5)

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

  • ApprovedCustomerGroup → QMSApprovedCustomerGroup

    Join on CustomerRelation = QMSApprovedCustomerGroup.GroupId, CustomerCode = TableGroupAll::GroupId

    Many QMSApprovedCustomerList records → zero or one QMSApprovedCustomerGroup record

  • ApprovedItemGroup → QMSApprovedItemGroup

    Join on ItemRelation = QMSApprovedItemGroup.GroupId, ItemCode = TableGroupAll::GroupId

    Many QMSApprovedCustomerList records → zero or one QMSApprovedItemGroup record

  • CustTable → CustTable

    Join on CustomerRelation = CustTable.AccountNum, CustomerCode = TableGroupAll::Table

    Many QMSApprovedCustomerList records → zero or one CustTable record

  • InventTable → InventTable

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

    Many QMSApprovedCustomerList records → zero or one InventTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.InventDimId

    Many QMSApprovedCustomerList records → exactly one InventDim record

Get this data out

Tables are not exposed directly. These public entities read from QMSApprovedCustomerList; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk