Table

GUPDiscountVendorClaimFeeCalculation

Holds fee calculations for discount claims made to vendors. Each record links a claim to a fee and its setup. It has an amount, a calculation type of amount or percent, and an accrual account. It can link to a vendor claim invoice.

Table name
GUPDiscountVendorClaimFeeCalculation
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 (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountFee amount. The currency is not stated in the metadata.Real
Amount
NoNone
CalcTypeShows whether the fee is a fixed amount or a percentage.Enum
GUPDiscountClaimCalcType (enum)
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscountClaimIdPoints to the discount claim the fee is for.String (20)
GUPDiscountClaimId
YesGUPDiscountClaim.DiscountClaimIdNone
FeeAccountPoints to the accrual account and dimension combination for the fee.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
FeeIdPoints to the claim fee.String
GUPDiscountVendorClaimFeeId
YesGUPDiscountVendorClaimFee.FeeIdNone
FeeSetupRecIdPoints to the claim fee setup record.Int64
GUPRefRecId
NoGUPDiscountVendorClaimFeeSetup.RecIdNone
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
TaxItemGroupItem sales tax group used for the fee.String
TaxItemGroup
NoNone
VendorClaimInvoiceVendor invoice created for the claim.String (20)
GUPDiscountVendorClaimJournalInvoice
NoNone

Indexes (2)

Relations (5)

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

  • GUPDiscountClaim → GUPDiscountClaim

    Join on DiscountClaimId = GUPDiscountClaim.DiscountClaimId

    Many GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountClaim record

  • GUPDiscountVendorClaimFee → GUPDiscountVendorClaimFee

    Join on FeeId = GUPDiscountVendorClaimFee.FeeId

    Many GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountVendorClaimFee record

  • GUPDiscountVendorClaimFeeSetup → GUPDiscountVendorClaimFeeSetup

    Join on FeeSetupRecId = GUPDiscountVendorClaimFeeSetup.RecId

    Many GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountVendorClaimFeeSetup record

  • VendInvoiceJour → VendInvoiceJour

    Join on VendorClaimInvoice = VendInvoiceJour.InvoiceId

    Cardinality not set in the metadata.

  • FeeAccount → DimensionAttributeValueCombination

    Join on FeeAccount = DimensionAttributeValueCombination.RecId

    Many GUPDiscountVendorClaimFeeCalculation records → zero or one DimensionAttributeValueCombination record

Get this data out

No public entity reads from GUPDiscountVendorClaimFeeCalculation. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk