Table
GUPDiscountClaimDistribution
Discount claim distribution
Holds how a discount claim is distributed. Each record refers to a periodic discount line or free item line. It has a posting profile and type, a calculation type and a value.
- Table name
GUPDiscountClaimDistribution- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalUnifiedPricing
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CalcTypeWhether the value is an amount or a percent. | EnumGUPDiscountClaimCalcType (enum) | Yes | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingProfileName of the posting profile. It points to a vendor claim posting profile of the same type. | String (60)Name | Yes | GUPDiscountVendorClaimPostingProfile.Name | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity |
PostingProfileTypeType of claim posting profile: claim, non-claim, additional claim or claim offset. | EnumGUPDiscountClaimPostingProfileType (enum) | No | GUPDiscountVendorClaimPostingProfile.ProfileType | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity |
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 | |
RefRecIdSystem record ID of the referenced record. | Int64RefRecId | Yes | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity | |
RefTableIdID of the table that the record refers to, such as the periodic discount line table. | IntegerRefTableId | Yes | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValueNumber for the distribution, read as an amount or percent depending on the calculation type. | RealRetailDiscountPercentValue | Yes | GUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity |
Indexes (1)
RefProfileIdxRefTableId,RefRecId,PostingProfileUnique, alternate key.
Relations (3)
Each relation joins GUPDiscountClaimDistribution to another table on the fields shown.
RetailPeriodicDiscountLine→RetailPeriodicDiscountLineJoin on
RefTableId = RetailPeriodicDiscountLine.TableId,RefRecId = RetailPeriodicDiscountLine.RecIdZero or one GUPDiscountClaimDistribution record → exactly one RetailPeriodicDiscountLine record
GUPFreeItemLine→GUPFreeItemLineJoin on
RefTableId = GUPFreeItemLine.TableId,RefRecId = GUPFreeItemLine.RecIdZero or one GUPDiscountClaimDistribution record → exactly one GUPFreeItemLine record
GUPDiscountVendorClaimPostingProfile→GUPDiscountVendorClaimPostingProfileJoin on
PostingProfile = GUPDiscountVendorClaimPostingProfile.Name,PostingProfileType = GUPDiscountVendorClaimPostingProfile.ProfileTypeMany GUPDiscountClaimDistribution records → exactly one GUPDiscountVendorClaimPostingProfile record
Get this data out
Tables are not exposed directly. These public entities read from GUPDiscountClaimDistribution; use one of them in Power BI, Power Platform or a data management project.
GUPDiscountClaimDistributionDiscountLineEntity· 6 fields from this tableGUPDiscountClaimDistributionFreeItemLineEntity· 6 fields from this table
Need help with GUPDiscountClaimDistribution in a report, an integration or a migration? Talk to Dr Dynamics.