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

Notifications

Announcements

No record found.

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
    95,329 Super User 2025 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans