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!
sure, will do...
Hi,
Normally the changes in side of technical need to debug and in this community the guys can hint you and not more.
Thus please use the hints but complete them with debug or ...
in process of PO:
-FormletterJournalPost class, is used for insert vouchers and post them(go to Classes\FormletterJournalPost \Post).
- InventoryMainAccDimensionListProvider class, is used for invoke purchline items such as itemid and .... and finally In this way,fetch posting profile by this method InventPosting::accountItemLedgerDimension
Thanks Ergun,
I think those fields ( ledger account + posting type) are related to GeneralJournalAccountEntry table .
Please give me more shed on this
Thanks!
ledger account + posting type?
Which fields of which table are you trying to reach? I don't think VendInvoiceTrans has this fields
If you provide the full table name and field name, we won't guess and mislead you.
Yes, init methods are called in this method, usually fields are filled in these methods.
thanks Ergun,
PurchInvoiceJournalCreate.createJournalLine()
I believe, we get ledger account + posting type, etc. line by line of journal by this method of PO invoice rite?
please give me more shed on this.
thanks!
thanks Ergun,
PurchInvoiceJournalCreate.createJournalLine()
I believe, we get ledger account + posting type, etc. line by line of journal by this method of PO invoice rite?
please give me more shed on this.
thanks!
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()
Hi Hossein,
pls reply me on this
thanks!
Hi Hossein,
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.
thanks!
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156