How to override clicked method button

Hello,

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 ?

https://community.dynamics.com/365/financeandoperations/b/ajitdynamics365/archive/2018/04/25/how-to-override-a-clicked-method-of-a-button-in-a-form-extension-d365

this link doesnt explain well becouse i dont see any full class examples, can someone give class example for overriding button method ?

Parents
No Data
Reply Children
No Data
Related
Recommended