Announcements
Hi,
I want to confirm multiple sales order via code in intercompany.
Eg. if A company selects multple SO and confirms it then it should also confirm the same Sales orders in another company .
I am able to achieve this for a single SO via COC of class SalesFormLetter_Confirm however my requirement is that it should also work if I confirm multiple Sales orders.
I have an alternative of while loop which I do not want to use but wanted to understand if there is a better approach to it.
Thanks,
VK
The framework supports posting of multiple orders (e.g. you can set up a batch posting orders that meet certain criteria every hour). Therefore you don't need any other framework, but you need to put your logic at the right place.
Note that the actually posting is done in SalesConfirmJournalPost class, not in SalesFormLetter_Confirm.
André Arnaud de Cal...
294,120
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator