Table

MCRPriceDiscGroupItem

Price group items

Links items to price and discount groups. Each row is identified by module, type, group, item, inventory dimension and unit. It also shows whether the group is the primary sales or purchase group.

Table name
MCRPriceDiscGroupItem
Module
Commerce merchandising
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
PriceDiscGroup
Replacement key
PriceDiscGroup
Key fields
Module, Type, GroupId, ItemId, InventDimId, UnitID
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ModuleWhether the group is for inventory, customers or vendors.Enum
PriceDiscModule
ModuleInventCustVend (enum)
NoPriceDiscGroup.ModuleNone
TypeThe kind of group: price, line discount, multiline discount, total discount or postage.Enum
PriceGroupType (enum)
NoPriceDiscGroup.TypeNone
GroupIdThe price or discount group the item is assigned to.String
PriceGroupId
YesPriceDiscGroup.GroupIdNone
ItemIdThe item linked to the group.String (20)
ItemId
YesInventTable.ItemIdNone
InventDimIdThe inventory dimension combination the row applies to.String (20)
InventDimId
YesInventDim.inventDimIdNone
UnitIDThe unit of measure the row applies to.String
UnitOfMeasureSymbol
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
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

Indexes (2)

Relations (3)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many MCRPriceDiscGroupItem records → exactly one InventDim record

  • inventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many MCRPriceDiscGroupItem records → exactly one InventTable record

  • PriceDiscGroup → PriceDiscGroup

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

    Many MCRPriceDiscGroupItem records → exactly one PriceDiscGroup record

Get this data out

No public entity reads from MCRPriceDiscGroupItem. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk