Announcements
Hi All,
After Sales Invoice posting ( batch / manual) I want to post the related intercompany purchase invoice and pass some infomation from SalesInvc to PurchaseInvoice... Looking for suggestion as to where to write the logic and some code snippet.
Thanks in advance
PO invoice is posed by method in class:formletterService.postPurchaseOrderInvoice(FormLetterContract _contract).
in class: formLetterCOntact.
There are a list of paramters common for this class and you can add some additional parameter to the list. hope it will work.
Hi Krishnendu,
You can trigger the posting of related purchase order On the on CustInvoiceJour\insert method, after super() call.
You can check this post regarding code for posting PO invoice.
André Arnaud de Cal...
294,110
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator