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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ValidFromFirst date on which the record is valid. | DateValidFromDate | Yes | QMSApprovedCustomerItemAssignmentEntity | |
ItemCodeSays whether the item side is a single item, a group or all items. | EnumTableGroupAll (enum) | Yes | QMSApprovedCustomerItemAssignmentEntity | |
ItemRelationItem number or approved item group, depending on the item code. | String (20)QMSItemRelation | No | InventTable.ItemIdQMSApprovedItemGroup.GroupId | QMSApprovedCustomerItemAssignmentEntity |
CustomerCodeSays whether the customer side is a single customer, a group or all customers. | EnumTableGroupAll (enum) | Yes | QMSApprovedCustomerItemAssignmentEntity | |
CustomerRelationCustomer account or approved customer group, depending on the customer code. | String (20)QMSCustRelation | No | CustTable.AccountNumQMSApprovedCustomerGroup.GroupId | QMSApprovedCustomerItemAssignmentEntity |
InventDimIdInventory dimension combination that the record applies to. | String (20)InventDimId | Yes | InventDim.InventDimId | 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 | |
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 | |
ValidToLast date on which the record is valid. | DateValidToDate | No | QMSApprovedCustomerItemAssignmentEntity |
Indexes (3)
ApprovedCustomerListIdxReplacement keyValidFrom,ItemCode,ItemRelation,CustomerCode,CustomerRelation,InventDimIdUnique, alternate key.
ItemCustomerIdxItemCode,ItemRelation,CustomerCode,CustomerRelation,InventDimId,ValidFromUnique.
CustomerItemIdxCustomerCode,CustomerRelation,ItemCode,ItemRelation,InventDimId,ValidFromUnique.
Relations (5)
Each relation joins QMSApprovedCustomerList to another table on the fields shown.
ApprovedCustomerGroup→QMSApprovedCustomerGroupJoin on
CustomerRelation = QMSApprovedCustomerGroup.GroupId,CustomerCode = TableGroupAll::GroupIdMany QMSApprovedCustomerList records → zero or one QMSApprovedCustomerGroup record
ApprovedItemGroup→QMSApprovedItemGroupJoin on
ItemRelation = QMSApprovedItemGroup.GroupId,ItemCode = TableGroupAll::GroupIdMany QMSApprovedCustomerList records → zero or one QMSApprovedItemGroup record
CustTable→CustTableJoin on
CustomerRelation = CustTable.AccountNum,CustomerCode = TableGroupAll::TableMany QMSApprovedCustomerList records → zero or one CustTable record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany QMSApprovedCustomerList records → zero or one InventTable record
InventDim→InventDimJoin on
InventDimId = InventDim.InventDimIdMany 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.
QMSApprovedCustomerItemAssignmentEntity· 6 fields from this table
Need help with QMSApprovedCustomerList in a report, an integration or a migration? Talk to Dr Dynamics.