How to override clicked method button


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 ?

No Data
Reply Children
No Data