Table
MCRPriceDiscGroupCustomer
Price group customers
Links customers to price and discount groups. Each row is identified by customer account and group. It also shows the group module and type, and whether it is the primary sales or purchase group.
- Table name
MCRPriceDiscGroupCustomer- Module
Commerce merchandising- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
TAMPromotionsManagement- Primary index
None- Replacement key
PriceDiscCustGroupIdx- Key fields
CustAccount, GroupId- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustAccountThe customer account linked to the group. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
GroupIdThe price or discount group assigned to the customer. | StringPriceGroupId | Yes | PriceDiscGroup.GroupId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModuleWhether the group is for inventory, customers or vendors. | EnumPriceDiscModuleModuleInventCustVend (enum) | No | PriceDiscGroup.Module | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
primaryPurchGroupYes/No flag that marks the group as the primary purchase group. | EnumNoYesIdNoYes (enum) | No | None | |
primarySalesGroupYes/No flag that marks the group as the primary sales group. | EnumNoYesIdNoYes (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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeThe kind of group: price, line discount, multiline discount, total discount or postage. | EnumPriceGroupType (enum) | No | PriceDiscGroup.Type | None |
Indexes (1)
PriceDiscCustGroupIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins MCRPriceDiscGroupCustomer to another table on the fields shown.
CustAccount→CustTableJoin on
CustAccount = CustTable.AccountNumExactly one MCRPriceDiscGroupCustomer record → exactly one CustTable record
PriceDiscGroup→PriceDiscGroupJoin on
GroupId = PriceDiscGroup.GroupId,Type = PriceDiscGroup.Type,Module = PriceDiscGroup.ModuleExactly one MCRPriceDiscGroupCustomer record → exactly one PriceDiscGroup record
Get this data out
No public entity reads from MCRPriceDiscGroupCustomer. Its data is only reachable through the application, a custom entity or a database export.
Need help with MCRPriceDiscGroupCustomer in a report, an integration or a migration? Talk to Dr Dynamics.