Table
PurchCORRejectsTable
Rejected lines
Lists purchase order lines that have been rejected, with a status of rejected or resolved. Each record points to a purchase order and a line by lot ID. It also holds a comment, a quantity and a workflow state.
- Table name
PurchCORRejectsTable- Module
Procurement and sourcing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CommentFree-text comment about the rejection. | String (-1)PurchCORRejectComment | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventTransIdLot ID that identifies the rejected purchase order line. | String (20)InventTransId | No | PurchLine.InventTransId | None |
LineNumLine number of the rejected line. | RealLineNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchIdPurchase order that the rejected line belongs to. | String (20)PurchId | No | PurchTable.PurchId | None |
QtyQuantity involved in the rejection. | RealProductQuantity | 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 | |
RejectStatusShows whether the rejection is still open (rejected) or has been resolved. | EnumPurchCORRejectStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkflowStateCurrent workflow state of the record, for example not submitted, pending approval or approved. | EnumTradeWorkflowState (enum) | No | None |
Indexes (2)
InventTransIdxNot unique.
PurchLineIdxPurchId,LineNum,RejectStatusNot unique.
Relations (2)
Each relation joins PurchCORRejectsTable to another table on the fields shown.
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany PurchCORRejectsTable records → zero or one PurchTable record
TransIdRel→PurchLineJoin on
InventTransId = PurchLine.InventTransIdMany PurchCORRejectsTable records → zero or one PurchLine record
Get this data out
No public entity reads from PurchCORRejectsTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchCORRejectsTable in a report, an integration or a migration? Talk to Dr Dynamics.