Table
PriceDiscGroup
Price groups
Lists price and discount groups. A group is identified by module, group type and group ID. Types include price, line discount, multiline discount, total discount and postage groups. It also holds retail pricing priority and a link to a pricing rule.
- Table name
PriceDiscGroup- Module
Sales and marketing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
PriceDisc- Primary index
PriceDiscGroup- Replacement key
PriceDiscGroup- Key fields
Module, Type, GroupId- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ModuleSays whether the group is for inventory, customers or vendors. | EnumPriceDiscModuleModuleInventCustVend (enum) | No | None | |
TypeKind of group, such as price, line discount, multiline discount, total discount or postage. | EnumPriceGroupType (enum) | No | None | |
GroupIdCode of the price or discount group. | StringPriceGroupId | Yes | GUPPriceDiscPriceAttributeCustomerGroupV2EntityGUPPriceDiscPriceAttributeCustomerGroupEntityMCRPostageDiscountCustomerGroupEntityand 18 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailAffiliationPriceGroupEntityRetailCatalogPriceGroupEntityRetailChannelPriceGroupEntityand 2 more | |
MCRPriceDiscGroupTypeKind of group: standard, source code or trade allowance. | EnumMCRPriceDiscGroupType (enum) | No | None | |
NameName of the group. | String (60)PriceDiscName | No | GUPPriceDiscPriceAttributeCustomerGroupV2EntityGUPPriceDiscPriceAttributeCustomerGroupEntityMCRPostageDiscountCustomerGroupEntityand 10 more | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceGroupAttributeEnablePurpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
PricingRuleRecIdSystem ID of the pricing rule linked to the group. | Int64GUPRefRecId | No | GUPPricingRule.RecId | GUPPriceDiscPriceAttributeCustomerGroupV2EntityGUPPriceDiscPriceAttributeCustomerGroupEntity |
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 | |
RetailCheckSalesPriceStatusYes/No flag labelled 'Check price labels'. | EnumRetailCheckSalesPriceStatusNoYes (enum) | No | None | |
RetailPricingPriorityNumberPoints to a retail pricing priority. | IntegerRetailPricingPriorityNumber | No | RetailPricingPriorityTable.PriorityNumber | GUPPriceDiscPriceAttributeCustomerGroupV2EntityGUPPriceDiscPriceAttributeCustomerGroupEntityPriceDiscPriceCustomerGroupEntity |
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 |
Indexes (2)
PriceDiscGroupPrimary indexReplacement keyUnique, alternate key.
RuleIdxPricingRuleRecId,PriceGroupAttributeEnableNot unique.
Relations (2)
Each relation joins PriceDiscGroup to another table on the fields shown.
RetailPricingPriorityTable→RetailPricingPriorityTableJoin on
RetailPricingPriorityNumber = RetailPricingPriorityTable.PriorityNumberMany PriceDiscGroup records → zero or one RetailPricingPriorityTable record
GUPPricingRule→GUPPricingRuleJoin on
PricingRuleRecId = GUPPricingRule.RecIdZero or one PriceDiscGroup record → exactly one GUPPricingRule record
Get this data out
Tables are not exposed directly. These public entities read from PriceDiscGroup; use one of them in Power BI, Power Platform or a data management project.
GUPPriceDiscPriceAttributeCustomerGroupV2Entity· 4 fields from this tableGUPPriceDiscPriceAttributeCustomerGroupEntity· 4 fields from this tableMCRPostageDiscountCustomerGroupEntity· 2 fields from this tablePriceDiscLineDiscountCustomerGroupEntity· 2 fields from this tablePriceDiscLineDiscountProductGroupEntity· 2 fields from this tablePriceDiscLineDiscountVendorGroupEntity· 2 fields from this tablePriceDiscMultilineDiscountCustomerGroupEntity· 2 fields from this tablePriceDiscMultilineDiscountProductGroupEntity· 2 fields from this tablePriceDiscMultilineDiscountVendorGroupEntity· 2 fields from this tablePriceDiscPriceCustomerGroupEntity· 3 fields from this tablePriceDiscPriceVendorGroupEntity· 2 fields from this tablePriceDiscTotalDiscountCustomerGroupEntity· 2 fields from this tablePriceDiscTotalDiscountVendorGroupEntity· 2 fields from this tableRetailAffiliationPriceGroupEntity· 2 fields from this tableRetailCatalogPriceGroupEntity· 2 fields from this tableRetailChannelPriceGroupEntity· 2 fields from this tableRetailDiscountPriceGroupEntity· 1 field from this tableRetailLoyaltyPriceGroupEntity· 2 fields from this tableRetailLoyaltyTierPriceGroupEntity· 2 fields from this tableRetailPriceGroupApplicabilityRuleEntity· 1 field from this tableRetailTenderDiscountPriceGroupEntity· 1 field from this table
Need help with PriceDiscGroup in a report, an integration or a migration? Talk to Dr Dynamics.