web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Subscribe to page action

(1) ShareShare
ReportReport
Posted on by 33
Hi!

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!
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    102,927 Super User 2026 Season 2 on at
    Hi, you can use one of the following two methods.
    Or
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 566 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 347 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 327 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans