ive got an issue there i need to override Clicked method of CustInvoiceJour print report button, any of them
if button is clicked and invoice amount is positive = 1 report, if negative = another report. How to achieve this or how to override buttons clicked method to achieve this ?
this link doesnt explain well becouse i dont see any full class examples, can someone give class example for overriding button method ?
This can't be done in clicked() method - the logic is managed inside the report controller.
Also note that users can choose the design through print management - wouldn't your logic break this standard (and widely used) feature?