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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CalcTypeWhether the value is an amount or a percent.Enum
GUPDiscountClaimCalcType (enum)
YesGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingProfileName of the posting profile. It points to a vendor claim posting profile of the same type.String (60)
Name
YesGUPDiscountVendorClaimPostingProfile.NameGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity
PostingProfileTypeType of claim posting profile: claim, non-claim, additional claim or claim offset.Enum
GUPDiscountClaimPostingProfileType (enum)
NoGUPDiscountVendorClaimPostingProfile.ProfileTypeGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity
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
RefRecIdSystem record ID of the referenced record.Int64
RefRecId
YesGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity
RefTableIdID of the table that the record refers to, such as the periodic discount line table.Integer
RefTableId
YesGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValueNumber for the distribution, read as an amount or percent depending on the calculation type.Real
RetailDiscountPercentValue
YesGUPDiscountClaimDistributionDiscountLineEntityGUPDiscountClaimDistributionFreeItemLineEntity

Indexes (1)

Relations (3)

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

  • RetailPeriodicDiscountLine → RetailPeriodicDiscountLine

    Join on RefTableId = RetailPeriodicDiscountLine.TableId, RefRecId = RetailPeriodicDiscountLine.RecId

    Zero or one GUPDiscountClaimDistribution record → exactly one RetailPeriodicDiscountLine record

  • GUPFreeItemLine → GUPFreeItemLine

    Join on RefTableId = GUPFreeItemLine.TableId, RefRecId = GUPFreeItemLine.RecId

    Zero or one GUPDiscountClaimDistribution record → exactly one GUPFreeItemLine record

  • GUPDiscountVendorClaimPostingProfile → GUPDiscountVendorClaimPostingProfile

    Join on PostingProfile = GUPDiscountVendorClaimPostingProfile.Name, PostingProfileType = GUPDiscountVendorClaimPostingProfile.ProfileType

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

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

Email sales@drdynamics.co.uk