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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAccountThe customer account linked to the group.String (20)
CustAccount
YesCustTable.AccountNumNone
GroupIdThe price or discount group assigned to the customer.String
PriceGroupId
YesPriceDiscGroup.GroupIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModuleWhether the group is for inventory, customers or vendors.Enum
PriceDiscModule
ModuleInventCustVend (enum)
NoPriceDiscGroup.ModuleNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
primaryPurchGroupYes/No flag that marks the group as the primary purchase group.Enum
NoYesId
NoYes (enum)
NoNone
primarySalesGroupYes/No flag that marks the group as the primary sales group.Enum
NoYesId
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TypeThe kind of group: price, line discount, multiline discount, total discount or postage.Enum
PriceGroupType (enum)
NoPriceDiscGroup.TypeNone

Indexes (1)

Relations (2)

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

  • CustAccount → CustTable

    Join on CustAccount = CustTable.AccountNum

    Exactly one MCRPriceDiscGroupCustomer record → exactly one CustTable record

  • PriceDiscGroup → PriceDiscGroup

    Join on GroupId = PriceDiscGroup.GroupId, Type = PriceDiscGroup.Type, Module = PriceDiscGroup.Module

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

Email sales@drdynamics.co.uk