Announcements
Hi all,
For example- suppose I have done PO - Product receipt
Then go to Product receipt- Journal - Voucher
For example - Suppose I got 2 ledger account
1. Ledger account from Posting profile
2. Ledger account from item group
Say
13501 - Posting type = PPV
13018 - Product receipt
I need at add condition like
if(postingType == PPV)
{
// then need to change only main account
}
else
{
// no changes
}
Those ledger accounts, I want to catch in PurchPackingSlipJournalPost
Kindly let me know how I will achieve this?
Please give me more shed on this
Thanks Hariharn,
I will check in system soon. As per the call stack what I understand that I will get the ledger account in PurchPackingSlipJournalPost in endledgerVoucher method.
Is it correct?
Please give me more shed on this
I just put the breakpoint on the GeneralJournalEntry table insert method and attached the call stack for your reference.
In this way you get the more detail on debug.
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator