Table

PurchTotalsSummary

Purchase order totals

Holds summary amounts for a purchase order, such as net lines, discounts, charges, taxes, round-off and total. It links to one purchase order and a currency. It has no defined key.

Table name
PurchTotalsSummary
Module
Public sector
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscountCash discount amount. The currency is not stated in the metadata.Real
VendCashDiscAmount
NoNone
CurrencyCodeCode of the currency used for the purchase order totals.String (3)
VendCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscountsTotal discount for the order header. The currency is not stated in the metadata.Real
PurchEndDiscAmount
NoNone
IsValidYes or No flag. The metadata gives no label or further meaning.low confidenceEnum
NoYes (enum)
NoNone
LineDiscountSum of the discount amounts on the order lines. The currency is not stated in the metadata.Real
PurchSumLineDiscAmount
NoNone
MiscChargesMiscellaneous charges amount in the transaction currency.Real
AmountCur
NoNone
NetLinesNet amount of the order lines. The currency is not stated in the metadata.Real
PurchLineAmount
NoNone
OtherChargesOther charges amount in the transaction currency.Real
AmountCur
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchIdNumber of the purchase order that these totals belong to.String (20)
PurchIdBase
NoPurchTable.PurchIdNone
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
RoundOffRound-off amount for the order. The currency is not stated in the metadata.Real
RoundOff
NoNone
SalesTaxSales tax amount. The currency is not stated in the metadata.Real
TaxAmountCur
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalAmountTotal amount of the purchase order in the transaction currency.Real
AmountCur
NoNone
UseTaxUse tax amount, labelled as sales tax amount. The currency is not stated in the metadata.low confidenceReal
TaxAmountCur
NoNone

Indexes (1)

Relations (2)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchTotalsSummary records → exactly one Currency record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Zero or one PurchTotalsSummary record → zero or one PurchTable record

Get this data out

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

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

Email sales@drdynamics.co.uk