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...
Answered

How to add button to Posted Sales Shipment page.

(1) ShareShare
ReportReport
Posted on by 50
On the Posted Sales Shipment page on the Home tab I would like to add a button so I can trigger an external function using AI language. I have extended the page but I couldn't find a way to add the button.
 
Here is what I want:
 
So I want to add a button After 'Track Package'. How can I do that in AL language?  
Here is what I have so far: 
 
 
pageextension 60002 PostedSalesShipmentExt extends /Posted Sales Shipment/
 
{
 
 
 
}
 
 
How can I add this button with a trigger?
 
Thanks in advance.
I have the same question (0)
  • Verified answer
    Yael Suarez Profile Picture
    131 on at
    Hi Try This Friend 
     
     
     
     
    pageextension 52202 "ExtensionExampleName" extends "Posted Sales Shipment"
    {
        layout
        {
            // Add changes to page layout here
        }
    
        actions
        {
            // Add changes to page actions here
            addlast("F&unctions")
            {
                action("Say Hello")
                {
                    ApplicationArea = Basic, Suite;
                    Image = "8ball";
                    Promoted = true;
                    PromotedCategory = Process;
    
                    trigger OnAction()
                    var
                        myInt: Integer;
                    begin
                        Message('Hi From  Mexico :)  Your Logic Must be Here');
                    end;
    
                }
            }
    
        }
    
        var
            myInt: Integer;
    }
    I hope this Helpful For You 


    Happy Code :)
  • Suggested answer
    YUN ZHU Profile Picture
    102,590 Super User 2026 Season 1 on at

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 June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 580 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 462 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 272 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans