Announcements
No record found.
Hi all,
Can you please let me know, in class PurchInvoiceJournalPost , postLine method i am not able to get any code. Even i debugged also with uncheck "Execute business operation in CIL".
Please let me know where i am geeting the business logic for postLine method? Even i not found also this.JournalizeSourceDocument method
Please give me more shed on this.
Thanks!
Hi @rp@n,
the PurchInvoiceJournalPost is extended from class FormletterJournalPost and in this class there is a method Post() that It does post journal.
Thanks Hossein,
With this FormletterJournalPost > post method, is invoice journal is created ?
I mean, if I wants to add any code and that I wants to execute before creation of Invoice Journal of PO. Shall I write code in post method?
Please confirm the same.
thanks!
Hi,
In method of this class the journal creates and post. Before post, you can develop your code.
thanks Hossein,
Can you please send me the screen shot of the method with line no. I mean , I am looking for "before post as you said".
Hi Hossein,
As you said, before post develop your code.
you mean here ?
Kindly confirm. If not then please suggest me.
I should know what is your changes exactly?
My requirement is , when lines are created in vouchers during invoice so, it should check the line one by one and posting type = PPV ( purchase price varience" ).
If PPV is found any of line then need to add some logic... based on PPV.
@ I need to add this condition before posting.
Kindly guide me where i can put the above condition?
please give me more shed on this.
pls reply me on this
I haven't written any code here in a while. It is necessary to examine a little with Debug, but if you are going to add a code for control, You can focus on;
PurchInvoiceJournalPost.checkBeforePostingLine()
If you are looking for the place where the journal lines created, I remember as;
PurchInvoiceJournalCreate.createJournalLine()
thanks Ergun,
I believe, we get ledger account + posting type, etc. line by line of journal by this method of PO invoice rite?
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.
Giorgio Bonacorsi 681
André Arnaud de Cal... 446 Super User 2026 Season 1
Syed Haris Shah 202 Super User 2026 Season 1