Salesforce

Work Order Receipt Reversal

« Go Back
Article

Overview

The Work Order Receipt (WORCPT) receives the item manufactured on a Work Order from the Work Order into Inventory. If a Work Order Receipt is needed to be reversed, the Work Order Receipt Reversal transaction is used. Operationally, the quantity previously received in inventory is reduced, and the quantity remaining on the Work Order is increased. Financially, the Manufacturing Sub Ledger of the Inventory Account is credited, and the Work Progress Account of the Work Order is debited.

Processing Notes

When the Work Order Receipt Reversal transaction is initiated from the Visualforce (VF) Page, the system creates the custom setting 'WOReceiptRev_RunAsQueueableClass' with a default value of True if it doesn't exist.

Salesforce has a limitation that only a maximum of 5 concurrent Batch Apex processes can run simultaneously.

The Work Order Receipt Reversal transaction initiated from the VF page is processed based on the value of the custom setting 'WOReceiptRev_RunAsQueueableClass' as mentioned below:

  • When the custom setting is True, a Queueable job will be created for the transaction using Salesforce Flex Queue. If 5 batch processes are running concurrently, this job will remain in the queue and will be processed when a batch is available for processing.

  • When the custom setting is False, the system processes the transaction based on the quantity to be processed:

    • If the quantity to be processed is less (i.e., < 25), the system processes it synchronously.

    • If more quantity is to be processed and a batch is available, the system processes it as an asynchronous Batch Apex. If 5 batch processes run concurrently, an error message will be displayed, indicating that the Salesforce server is currently unavailable to process the job.


NOTE image.png  NOTE  The VF page will keep loading until the system processes the job.

Navigation

WO Receipt Reversal

Fields
 

Division:  The Division on the Work Order.

Work Order:  Select the Work Order number

Transaction Date:  Optional date value used to backdate the Accounting Date for the Work Order Receipt reversal transactions completed on this page. If the field is left empty, the processing date will be used.

User-added image  NOTE  If the field Allow Date Override to WO Receipt is set to TRUE in the Cost Accounting Control Record the field Transaction Date is displayed on the Work Order Receipt Reversal page.


Select Display Receipts Locations button, the system will display the Work Order Receipt Transactions that have previously processed against the selected Work Order.

Display Record
 

Selected:  Check the indicator box for the row of the Work Order Receipt to be reversed.

Reverse Qty:  Enter the Reverse Quantity. This must be equal to or less than the Quantity received (Select the Serial Numbers to be reversed for Serialized Item Receipt Reversal).

Txn Comment:  Enter a Reversal Transaction Comment.


Select the Reverse Receive Selected Locations button to reverse the quantity received for the selected location.

User-added image  NOTE  If Components have been (Last Operation Backflush) these transactions will be reversed (Work Order Issue Reversal transaction).


SEE ALSO
 

Work Order Receipt
Work Order Transactions
Work Order Overview

Settings
Work Order Receipt Reversal
Work-Order-Receipt-Reversal

Powered by