Table
GUPDiscountClaimTransaction
Holds the transaction lines of a discount claim. Each line has an item, an amount and a sales order line reference. It also has a main account and a dimension set.
- Table name
GUPDiscountClaimTransaction- 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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountAmount of the line. The currency is not stated in the metadata. | RealAmount | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the default dimension value set. | Int64InventSiteLinkedDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DiscountClaimIdPoints to the discount claim the line belongs to. | String (20)GUPDiscountClaimId | Yes | GUPDiscountClaim.DiscountClaimId | None |
InventTransIdLot ID that points to the sales order line. | String (20)TradeInventTransId | Yes | SalesLine.InventTransId | None |
ItemNumberPoints to the item on the line. | String (20)ItemId | Yes | InventTable.ItemId | None |
LedgerAccountPoints to the main account and dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.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 |
Indexes (2)
ClaimTransIdxDiscountClaimId,ItemNumber,InventTransId,LedgerAccountUnique, alternate key.
InventTransIdIdxDiscountClaimId,InventTransId,LedgerAccountUnique, alternate key.
Relations (5)
Each relation joins GUPDiscountClaimTransaction to another table on the fields shown.
InventTable→InventTableJoin on
ItemNumber = InventTable.ItemIdMany GUPDiscountClaimTransaction records → exactly one InventTable record
GUPDiscountClaim→GUPDiscountClaimJoin on
DiscountClaimId = GUPDiscountClaim.DiscountClaimIdMany GUPDiscountClaimTransaction records → exactly one GUPDiscountClaim record
SalesLineFK→SalesLineJoin on
InventTransId = SalesLine.InventTransIdMany GUPDiscountClaimTransaction records → exactly one SalesLine record
LedgerAccount→DimensionAttributeValueCombinationJoin on
LedgerAccount = DimensionAttributeValueCombination.RecIdMany GUPDiscountClaimTransaction records → zero or one DimensionAttributeValueCombination record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany GUPDiscountClaimTransaction records → zero or one DimensionAttributeValueSet record
Get this data out
No public entity reads from GUPDiscountClaimTransaction. Its data is only reachable through the application, a custom entity or a database export.
Need help with GUPDiscountClaimTransaction in a report, an integration or a migration? Talk to Dr Dynamics.