Hi,
I have worked with different report extensions and they are working fine. But today I get chance to work with LedgerJournalDP and unfortunatly its estension is not working. I tried to put break points in class LedgerJournalDP but they are also not working. I have load all symbols and breakpoint get red, but not worked.
Actually I need to make some changes in Payment Journal print. Please help if I am making some mistake. Here is the extension code. The code is just specimen.
[ExtensionOf(classStr(LedgerJournalDP))] final class My_LedgerJournalDP_Extension { public void processReport() { next processReport(); ; Info("I am here to work further"); } }
Hi All,
It was my missing, actually Vendor payment journal form was customized. So, the orignal menu was not working. When I check the customized form menu it was refereing new customized menu item.
May be, because of this post, someone can get the advantage and can save your time.
Thanks.
Hi Martin,
Debugger is working fine. Vendor payment journal and Customer payment journal sharing same output menu "LedgerJournal". When I try to test with Customer Payment Journal the breakpoint and extension is working fine. But with Vendor Payment Journal its not working. Its still giving tough time and I have to customize the vendor payment journal print so, I am trying to figure it out.
Thanks
Hi,
Your COC looks good. This is the debugger issue so you need to restart IIS express and then restart VS then attached again the debugger.
Hi Nadeem,
You can go ahead and use onInserting event handler of the table, if you want to change the data or insert the data to new fields.
Thanks,
Girish S.
Hi, Your code looks good. Have you checked if breakpoint hits for standard method process report. Also, make sure you extension class is compiled successfully.
If standard method is not hitting then it's not extension issue.
There may be several reasons for it. For example, maybe the report executes in a batch but you have the debugger attached to IIS/IISExpress instead of Batch.exe. Or maybe you're running a report that uses a different DP class.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156