Table

GUPFundTransTable

Holds amounts tracked against a trade allowance fund for a sales order line. Each record links a fund, a sales order, a customer, a discount and an order line (lot ID). It stores ordered, balance and invoiced figures with an order entry date and an invoice date.

Table name
GUPFundTransTable
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 (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BalanceAmtBalance amount or quantity for the fund; the metadata does not say which.Real
GUPFundQtyAmount
NoNone
CustAccountCustomer account linked to the sales order.String (20)
CustAccount
YesCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateFinancialInvoice date.Date
DateFinancial
NoNone
DatePhysicalDate when order entry was completed.Date
DatePhysical
NoNone
FundIDTrade allowance fund the amounts are tracked against.String (30)
TAMFundID
YesTAMFundTable.FundIDNone
InventTransIdLot ID that identifies the sales order line.String (20)
TradeInventTransId
NoSalesLine.InventTransIdNone
InvoicedAmtInvoiced amount or quantity for the fund; the metadata does not say which.Real
GUPFundQtyAmount
NoNone
OfferIdPeriodic discount linked to this fund record.String (20)
RetailOfferIdEx3
YesRetailPeriodicDiscount.OfferIdNone
OrderedAmtOrdered amount or quantity for the fund; the metadata does not say which.Real
GUPFundQtyAmount
NoNone
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
SalesIdSales order the record relates to.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • TAMFundTable → TAMFundTable

    Join on FundID = TAMFundTable.FundID

    One or more GUPFundTransTable records → exactly one TAMFundTable record

  • RetailPeriodicDiscount → RetailPeriodicDiscount

    Join on OfferId = RetailPeriodicDiscount.OfferId

    Many GUPFundTransTable records → exactly one RetailPeriodicDiscount record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many GUPFundTransTable records → exactly one SalesTable record

  • SalesLine → SalesLine

    Join on InventTransId = SalesLine.InventTransId

    Many GUPFundTransTable records → exactly one SalesLine record

  • OrderCustomer → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many GUPFundTransTable records → exactly one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk