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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CommentFree-text comment about the rejection.String (-1)
PurchCORRejectComment
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventTransIdLot ID that identifies the rejected purchase order line.String (20)
InventTransId
NoPurchLine.InventTransIdNone
LineNumLine number of the rejected line.Real
LineNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchIdPurchase order that the rejected line belongs to.String (20)
PurchId
NoPurchTable.PurchIdNone
QtyQuantity involved in the rejection.Real
ProductQuantity
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
RejectStatusShows whether the rejection is still open (rejected) or has been resolved.Enum
PurchCORRejectStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkflowStateCurrent workflow state of the record, for example not submitted, pending approval or approved.Enum
TradeWorkflowState (enum)
NoNone

Indexes (2)

Relations (2)

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

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many PurchCORRejectsTable records → zero or one PurchTable record

  • TransIdRel → PurchLine

    Join on InventTransId = PurchLine.InventTransId

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

Email sales@drdynamics.co.uk