Table

PurchReqBusJustificationHistory

Purchase requisition business justification

Keeps dated versions of the business justification text for a purchase requisition. The key is the justification record and its valid from and to times. It points to a requisition line through a table ID and record ID pair.

Table name
PurchReqBusJustificationHistory
Module
Procurement and sourcing
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
PurchReq
Primary index
RecId
Replacement key
PurchReqBusJustificationIdx
Key fields
PurchReqBusJustification, ValidFrom, ValidTo
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchReqBusJustificationSystem record ID of the business justification record.Int64
RefRecId
NoPurchReqBusJustification.RecIdNone
ValidFromDate and time from which this version is valid.UtcDateTime
ValidFromDateTime
NoNone
ValidToDate and time until which this version is valid.UtcDateTime
ValidToDateTime
NoNone
BusinessJustificationText that explains why the purchase is needed.String (-1)
PurchReqBusinessJustification
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
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
RefRecIdSystem record ID of the referenced requisition record, such as a requisition line.Int64
PurchReqRefRecId
YesNone
RefTableIdNumeric ID of the table that the reference points to.Integer
PurchReqRefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • PurchReqBusJustification → PurchReqBusJustification

    Join on PurchReqBusJustification = PurchReqBusJustification.RecId

    Many PurchReqBusJustificationHistory records → zero or one PurchReqBusJustification record

  • PurchReqLine → PurchReqLine

    Join on RefTableId = PurchReqLine.TableId, RefRecId = PurchReqLine.RecId

    Many PurchReqBusJustificationHistory records → zero or one PurchReqLine record

  • PurchReqTable → PurchReqTable

    Join on RefTableId = PurchReqTable.TableId, RefRecId = PurchReqTable.RecId

    Many PurchReqBusJustificationHistory records → zero or one PurchReqTable record

Get this data out

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

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

Email sales@drdynamics.co.uk