Hi dear community !
There is a customization that will run an Async batch job that will change the PO status to confirmed.
I want to add my logic after the PO status have been changed to "Confirmed".
I tried putting my logic as the next line after the line that will run the batch job I had an issue.
Because it's an Async batch job, some times my logic will run before the batch job have finished, so my logic will run before the PO status have been changed to "Confirmed".
So i'm wondering where to put my logic to run after making sure the PO status have been changed to confirmed.
I thought of using CoC to PurchTable.update() method, but I would prefer to not use the update method.
The batch job class and method being used to do the PO confirmation is "PurchFormLetter.update()".
Where should I put my logic to run after this batch job changes the status of the PO to confirmed?
Any advice is appreciated !
Thanks in advance !