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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAmount of the line. The currency is not stated in the metadata.Real
Amount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the default dimension value set.Int64
InventSiteLinkedDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
DiscountClaimIdPoints to the discount claim the line belongs to.String (20)
GUPDiscountClaimId
YesGUPDiscountClaim.DiscountClaimIdNone
InventTransIdLot ID that points to the sales order line.String (20)
TradeInventTransId
YesSalesLine.InventTransIdNone
ItemNumberPoints to the item on the line.String (20)
ItemId
YesInventTable.ItemIdNone
LedgerAccountPoints to the main account and dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.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

Indexes (2)

Relations (5)

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

  • InventTable → InventTable

    Join on ItemNumber = InventTable.ItemId

    Many GUPDiscountClaimTransaction records → exactly one InventTable record

  • GUPDiscountClaim → GUPDiscountClaim

    Join on DiscountClaimId = GUPDiscountClaim.DiscountClaimId

    Many GUPDiscountClaimTransaction records → exactly one GUPDiscountClaim record

  • SalesLineFK → SalesLine

    Join on InventTransId = SalesLine.InventTransId

    Many GUPDiscountClaimTransaction records → exactly one SalesLine record

  • LedgerAccount → DimensionAttributeValueCombination

    Join on LedgerAccount = DimensionAttributeValueCombination.RecId

    Many GUPDiscountClaimTransaction records → zero or one DimensionAttributeValueCombination record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many 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.

Email sales@drdynamics.co.uk