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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyCodeCurrency code for the totals.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchReqTableHistoryPoints to the requisition history row these totals belong to.Int64
RefRecId
YesPurchReqTableHistory.RecIdNone
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
ReqAmountMSTRequisition amount; the name suggests accounting currency but the currency is not stated in the metadata.low confidenceReal
AmountCur
NoNone
RoundOffRound-off amount; currency not stated in the metadata.Real
RoundOff
NoNone
SalesOrderBalanceAmount in transaction currency.Real
AmountCur
NoNone
SumLineDiscTotal line discount amount; currency not stated in the metadata.Real
PurchSumLineDiscAmount
NoNone
SumMarkupTotal charges amount; currency not stated in the metadata.Real
MarkupSumPurch
NoNone
SumTaxSales tax amount; currency 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

Indexes (1)

Relations (2)

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

  • CurrencyCode → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchReqTableHistoryTotals records → exactly one Currency record

  • PurchReqTableHistory → PurchReqTableHistory

    Join on PurchReqTableHistory = PurchReqTableHistory.RecId

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

Email sales@drdynamics.co.uk