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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchReqBusJustificationSystem record ID of the business justification record. | Int64RefRecId | No | PurchReqBusJustification.RecId | None |
ValidFromDate and time from which this version is valid. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDate and time until which this version is valid. | UtcDateTimeValidToDateTime | No | None | |
BusinessJustificationText that explains why the purchase is needed. | String (-1)PurchReqBusinessJustification | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RefRecIdSystem record ID of the referenced requisition record, such as a requisition line. | Int64PurchReqRefRecId | Yes | None | |
RefTableIdNumeric ID of the table that the reference points to. | IntegerPurchReqRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
PurchReqBusJustificationIdxReplacement keyPurchReqBusJustification,ValidFrom,ValidToUnique, alternate key.
Relations (3)
Each relation joins PurchReqBusJustificationHistory to another table on the fields shown.
PurchReqBusJustification→PurchReqBusJustificationJoin on
PurchReqBusJustification = PurchReqBusJustification.RecIdMany PurchReqBusJustificationHistory records → zero or one PurchReqBusJustification record
PurchReqLine→PurchReqLineJoin on
RefTableId = PurchReqLine.TableId,RefRecId = PurchReqLine.RecIdMany PurchReqBusJustificationHistory records → zero or one PurchReqLine record
PurchReqTable→PurchReqTableJoin on
RefTableId = PurchReqTable.TableId,RefRecId = PurchReqTable.RecIdMany 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.