Table
PurchReqTableHistoryTotals
Purchase requisition history totals
Holds total amounts for a row of purchase requisition history. It includes amounts, discount, charges, sales tax and round-off, with a currency code. Each row links to one history record.
- Table name
PurchReqTableHistoryTotals- Module
Procurement and sourcing- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
PurchReq- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyCodeCurrency code for the totals. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchReqTableHistoryPoints to the requisition history row these totals belong to. | Int64RefRecId | Yes | PurchReqTableHistory.RecId | 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 | |
ReqAmountMSTRequisition amount; the name suggests accounting currency but the currency is not stated in the metadata.low confidence | RealAmountCur | No | None | |
RoundOffRound-off amount; currency not stated in the metadata. | RealRoundOff | No | None | |
SalesOrderBalanceAmount in transaction currency. | RealAmountCur | No | None | |
SumLineDiscTotal line discount amount; currency not stated in the metadata. | RealPurchSumLineDiscAmount | No | None | |
SumMarkupTotal charges amount; currency not stated in the metadata. | RealMarkupSumPurch | No | None | |
SumTaxSales tax amount; currency 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 |
Indexes (1)
PurchReqTableHistoryIdxNot unique.
Relations (2)
Each relation joins PurchReqTableHistoryTotals to another table on the fields shown.
CurrencyCode→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchReqTableHistoryTotals records → exactly one Currency record
PurchReqTableHistory→PurchReqTableHistoryJoin on
PurchReqTableHistory = PurchReqTableHistory.RecIdMany PurchReqTableHistoryTotals records → exactly one PurchReqTableHistory record
Get this data out
No public entity reads from PurchReqTableHistoryTotals. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchReqTableHistoryTotals in a report, an integration or a migration? Talk to Dr Dynamics.