Normally, I would create an event handling class for a new report format and then select the new report format in the Print Management setup.
However, I did not find the LedgerTransPerJournal report format in the Print Management setup.
So, how can I use my custom LedgerTransPerJournal report format instead of the standard LedgerTransPerJournal report format?
If a report doesn’t support print management, you can extend the data provider class, the temporary table or what the report uses. In some cases, you may be able to extend the controller and change the report name there. Usually you need to create your own (e.g. as a child of the standard one). Then you can create an extension of the report menu item to use your new controller.
This is a very generic answer; the specific one would require checking how this particular report is implemented.
Hi, @MartinDrab ,
Thank you for your help. I found that the LedgerTransPerJournal report is printed by calling the controller class through the menu item, so I need to extend the controller class to change the report format