Table

GUPFundDiscount

Fund discounts

Links a trade allowance fund to a periodic discount. It also holds an ordered amount and an invoiced amount. The key is the fund ID plus the discount ID.

Table name
GUPFundDiscount
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
FundDisocunt
Replacement key
FundDisocunt
Key fields
FundID, OfferId
Model
GlobalUnifiedPricing

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FundIDID of the trade allowance fund.String (30)
TAMFundID
YesTAMFundTable.FundIDGUPFundDiscountEntity
OfferIdID of the periodic discount linked to the fund.String (20)
RetailOfferIdEx3
YesRetailPeriodicDiscount.OfferIdGUPFundDiscountEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoicedAmtInvoiced value for the fund and discount; the metadata does not say whether it is a quantity or an amount.low confidenceReal
GUPFundQtyAmount
NoGUPFundDiscountEntity
OrderedAmtOrdered value for the fund and discount; the metadata does not say whether it is a quantity or an amount.low confidenceReal
GUPFundQtyAmount
NoGUPFundDiscountEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • FundDisocuntPrimary indexReplacement key

    FundID, OfferId

    Unique, alternate key.

Relations (2)

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

  • TAMFundTable → TAMFundTable

    Join on FundID = TAMFundTable.FundID

    One or more GUPFundDiscount records → exactly one TAMFundTable record

  • GUPAllDiscounts → RetailPeriodicDiscount

    Join on OfferId = RetailPeriodicDiscount.OfferId

    Many GUPFundDiscount records → exactly one RetailPeriodicDiscount record

Get this data out

Tables are not exposed directly. These public entities read from GUPFundDiscount; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk