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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountFee amount. The currency is not stated in the metadata. | RealAmount | No | None | |
CalcTypeShows whether the fee is a fixed amount or a percentage. | EnumGUPDiscountClaimCalcType (enum) | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountClaimIdPoints to the discount claim the fee is for. | String (20)GUPDiscountClaimId | Yes | GUPDiscountClaim.DiscountClaimId | None |
FeeAccountPoints to the accrual account and dimension combination for the fee. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | None |
FeeIdPoints to the claim fee. | StringGUPDiscountVendorClaimFeeId | Yes | GUPDiscountVendorClaimFee.FeeId | None |
FeeSetupRecIdPoints to the claim fee setup record. | Int64GUPRefRecId | No | GUPDiscountVendorClaimFeeSetup.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxItemGroupItem sales tax group used for the fee. | StringTaxItemGroup | No | None | |
VendorClaimInvoiceVendor invoice created for the claim. | String (20)GUPDiscountVendorClaimJournalInvoice | No | None |
Indexes (2)
ClaimFeeCalculationIdxDiscountClaimId,FeeId,FeeSetupRecId,VendorClaimInvoiceUnique.
VendorClaimInvoiceIdxNot unique.
Relations (5)
Each relation joins GUPDiscountVendorClaimFeeCalculation to another table on the fields shown.
GUPDiscountClaim→GUPDiscountClaimJoin on
DiscountClaimId = GUPDiscountClaim.DiscountClaimIdMany GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountClaim record
GUPDiscountVendorClaimFee→GUPDiscountVendorClaimFeeJoin on
FeeId = GUPDiscountVendorClaimFee.FeeIdMany GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountVendorClaimFee record
GUPDiscountVendorClaimFeeSetup→GUPDiscountVendorClaimFeeSetupJoin on
FeeSetupRecId = GUPDiscountVendorClaimFeeSetup.RecIdMany GUPDiscountVendorClaimFeeCalculation records → exactly one GUPDiscountVendorClaimFeeSetup record
VendInvoiceJour→VendInvoiceJourJoin on
VendorClaimInvoice = VendInvoiceJour.InvoiceIdCardinality not set in the metadata.
FeeAccount→DimensionAttributeValueCombinationJoin on
FeeAccount = DimensionAttributeValueCombination.RecIdMany 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.