Data entity

GUPDiscountClaimDistributionDiscountLineEntity

Holds claim distribution settings for discount lines. Each record is identified by the offer ID, the line number and the posting profile. It holds the claim posting profile type, the calculation type and a value. It links to several kinds of retail discount lines.

Entity name
GUPDiscountClaimDistributionDiscountLineEntity
Public entity name
DiscountClaimDistributionDiscountLine
OData collection
DiscountClaimDistributionDiscountLines
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
OfferId, LineNum, PostingProfile
Staging table
GUPDiscountClaimDistributionDiscountLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DiscountClaimDistributionDiscountLines
Dataverse virtual table
mserp_gupdiscountclaimdistributiondiscountlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • GUPDiscountClaimDistribution · root
  • RetailPeriodicDiscountLine · InnerJoin to GUPDiscountClaimDistribution · read-only
  • RetailPeriodicDiscountLine_GUPFreeItemDiscountLine (table GUPFreeItemDiscountLine) · Derived to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineMixAndMatch (table RetailDiscountLineMixAndMatch) · Derived to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineMultibuy (table RetailDiscountLineMultibuy) · Derived to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineOffer (table RetailDiscountLineOffer) · Derived to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineThresholdApplying (table RetailDiscountLineThresholdApplying) · Derived to RetailPeriodicDiscountLine

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RefTableIdID of the table that the record refers to, such as the periodic discount line table.Integer
RefTableId
YesNo (private)GUPDiscountClaimDistribution.RefTableId
RefRecIdSystem record ID of the referenced record.Int64
RefRecId
YesNo (private)GUPDiscountClaimDistribution.RefRecId
PostingProfileTypeType of claim posting profile: claim, non-claim, additional claim or claim offset.Enum
GUPDiscountClaimPostingProfileType
  • Claim 0
  • NonClaim 1
  • AdditionalClaim 2
  • ClaimOffset 3
NoYesGUPDiscountClaimDistribution.PostingProfileType
PostingProfileName of the posting profile. It points to a vendor claim posting profile of the same type.String (60)
Name
YesYesGUPDiscountVendorClaimPostingProfile.NameGUPDiscountClaimDistribution.PostingProfile
CalcTypeWhether the value is an amount or a percent.Enum
GUPDiscountClaimCalcType
  • Amount 0
  • Percent 1
YesYesGUPDiscountClaimDistribution.CalcType
ValueNumber for the distribution, read as an amount or percent depending on the calculation type.Real
RetailDiscountPercentValue
YesYesGUPDiscountClaimDistribution.Value
OfferIdDiscount that the line belongs to. Points to the periodic discount.String (20)
RetailOfferIdEx3
YesYesRetailPeriodicDiscount.OfferIdRetailPeriodicDiscountLine.OfferId
LineNumNumber of the line within the discount.Real
LineNum
NoYesRetailPeriodicDiscountLine.LineNum

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • PostingProfile → GUPDiscountVendorClaimPostingProfile.Name (key of GUPDiscountVendorClaimPostingProfile)

    Join on all of: PostingProfile = GUPDiscountVendorClaimPostingProfile.Name, PostingProfileType = GUPDiscountVendorClaimPostingProfile.ProfileType

    Many GUPDiscountClaimDistribution records → exactly one GUPDiscountVendorClaimPostingProfile record

    GUPDiscountVendorClaimPostingProfile details: see GUPDiscountVendorClaimPostingProfileEntity

  • OfferId → RetailPeriodicDiscount.OfferId (key of RetailPeriodicDiscount)

    Many RetailPeriodicDiscountLine records → exactly one RetailPeriodicDiscount record

    RetailPeriodicDiscount details: see GUPRetailDiscountEntity, GUPRetailDiscountV2Entity, RetailDiscountEntity

Need help with GUPDiscountClaimDistributionDiscountLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk