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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscountCash discount amount. The currency is not stated in the metadata. | RealVendCashDiscAmount | No | None | |
CurrencyCodeCode of the currency used for the purchase order totals. | String (3)VendCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountsTotal discount for the order header. The currency is not stated in the metadata. | RealPurchEndDiscAmount | No | None | |
IsValidYes or No flag. The metadata gives no label or further meaning.low confidence | EnumNoYes (enum) | No | None | |
LineDiscountSum of the discount amounts on the order lines. The currency is not stated in the metadata. | RealPurchSumLineDiscAmount | No | None | |
MiscChargesMiscellaneous charges amount in the transaction currency. | RealAmountCur | No | None | |
NetLinesNet amount of the order lines. The currency is not stated in the metadata. | RealPurchLineAmount | No | None | |
OtherChargesOther charges amount in the transaction currency. | RealAmountCur | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchIdNumber of the purchase order that these totals belong to. | String (20)PurchIdBase | No | PurchTable.PurchId | 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 | |
RoundOffRound-off amount for the order. The currency is not stated in the metadata. | RealRoundOff | No | None | |
SalesTaxSales tax amount. The currency is not stated in the metadata. | RealTaxAmountCur | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TotalAmountTotal amount of the purchase order in the transaction currency. | RealAmountCur | No | None | |
UseTaxUse tax amount, labelled as sales tax amount. The currency is not stated in the metadata.low confidence | RealTaxAmountCur | No | None |
Indexes (1)
PurchIdIdxUnique.
Relations (2)
Each relation joins PurchTotalsSummary to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchTotalsSummary records → exactly one Currency record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdZero 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.