Viewing the transactions on queue
The Transaction on Queue form shows the status of processing accruals for purchase orders and receipts.
When a purchase transaction BOD (purchase order or delivery receipt as indicated by the Transaction Type) is received, a record is created in the corresponding tables, and then queued for agreement validation. The records list shows the latest transactions first.
The Transaction Logs field shows the information on how the purchase transaction BOD was processed: from initialization, record retrieval from purchase transaction tables, finding a valid agreement, accumulation when needed, until an accrual record is created, or if an error has occurred.
A method reads this queue table every fixed interval to check for records to be processed, avoiding concurrent runs which might cause incorrect accumulation of accruals.
The Transaction on Queue skips erroneous records. The specific record's Processed field is updated to 3-ErrorOccurred. The Transaction On Queue then continues to process incoming purchase order and receipt BODs.