I want to subscribe/extend action.
On page 43 /Sales Invoice/ I want to do something after user click action /ProformaInvoice/
action(ProformaInvoice){ ApplicationArea = Basic, Suite; Caption = 'Pro Forma Invoice'; Ellipsis = true; Image = ViewPostedOrder; //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true' //PromotedCategory = Category5; ToolTip = 'View or print the pro forma sales invoice.'; trigger OnAction() var DocumentPrint: Codeunit /Document-Print/; begin DocumentPrint.PrintProformaSalesInvoice(Rec); end;}
How can I do that? Should it be something like adding another OnBeforeAction trigger?Best Regards!