Overview
The PO issue Reversal function reverses the issue of Subcontract PO Line Component items previously issued.
The PO Issue Reversal transaction increases the on-hand inventory. It decreases the component value of Subcontract PO WIP, debiting the component item’s Inventory Mfg Sub Ledger Account and crediting the PO Line’s Mfg Sub ledger PO WIP Account (as defined on the item’s Inventory Item Account Master).
Processing Notes
When the Purchase Order Issue Reversal transaction is initiated from the Visualforce (VF) Page, the system creates the custom setting 'POIssueRev_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 Purchase Order Issue Reversal transaction initiated from the VF page is processed based on the value of the custom setting 'POIssueRev_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 The VF page will keep loading until the system processes the job.
Navigation
PO Issue Reversal
Processing
1. Select the Subcontract Purchase Order
Division: The Division of the Purchase Order.
Purchase Order: Select the Purchase Order for the Subcontract PO Line.
Transaction Date: Optional date value used to backdate the Accounting Date for the Purchase Order Issue reversal transactions completed on this page. If the field is left empty, the processing date will be used.
NOTE If the field Allow Date Override to PO Issue is set to TRUE in the Cost Accounting Control Record, the Transaction Date field is displayed on the Purchase Order Issue Reversal page.
PO Line: Select the PO line for the subcontract Purchase Order.
Select the Display Components button to display the previously issued components from inventory.
2. Specify the items and quantities to be reversed
Selected: Check the row's checkbox to be reversed OR the 'Select All' checkbox to select all previously issued components.
Reverse Qty: Enter the quantity to be reversed. The value must be equal to or less than the issue quantity.
Txn Comments: Optional. Enter comments as appropriate.
Select the Reverse Issue Selected Components button to process the Purchase Order Issue Reversal.
IMPORTANT In a Standard Cost Division, if the user changes the standard cost of the Inventory Item after processing the Purchase Order Issue and then performs a Purchase Order Issue Reversal, (1) the Rootstock Cost Transaction of type 'VARPOISSR' is created with the variance amount and the 'Sub WIP Account' on the PO Cost associated with the Purchase Order is used as the Debit Account (if the variance is positive)/Credit Account (if the variance is negative) and (2) the Component Costs on the PO Cost associated with the Purchase Order will be updated based on the variance.
SEE ALSO
Purchasing Overview
Subcontract Purchase Order Overview
Subcontract Purchase Order Component Setup
Subcontract Purchase Order Component Demand Processing
Subcontract Purchase Order Component Issue
PO Demand