Announcements
No record found.
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
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.
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 632 Super User 2026 Season 1
Giorgio Bonacorsi 624
CP04-islander 301