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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ModuleWhether the group is for inventory, customers or vendors. | EnumPriceDiscModuleModuleInventCustVend (enum) | No | PriceDiscGroup.Module | None |
TypeThe kind of group: price, line discount, multiline discount, total discount or postage. | EnumPriceGroupType (enum) | No | PriceDiscGroup.Type | None |
GroupIdThe price or discount group the item is assigned to. | StringPriceGroupId | Yes | PriceDiscGroup.GroupId | None |
ItemIdThe item linked to the group. | String (20)ItemId | Yes | InventTable.ItemId | None |
InventDimIdThe inventory dimension combination the row applies to. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
UnitIDThe unit of measure the row applies to. | StringUnitOfMeasureSymbol | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | 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 |
Indexes (2)
Relations (3)
Each relation joins MCRPriceDiscGroupItem to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany MCRPriceDiscGroupItem records → exactly one InventDim record
inventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany MCRPriceDiscGroupItem records → exactly one InventTable record
PriceDiscGroup→PriceDiscGroupJoin on
Module = PriceDiscGroup.Module,Type = PriceDiscGroup.Type,GroupId = PriceDiscGroup.GroupIdMany 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.