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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Page Action to Link Sales Order to Posted Inventory Pick

(0) ShareShare
ReportReport
Posted on by 1,165

Hi All,

I have successfully linked sales order to unposted inventory pick using below code:

            action(UnpostedInvPick)
            {
                ApplicationArea = Warehouse;
                RunObject = Page "Inventory Pick";
                RunPageLink = "Source Document" = CONST("Sales Order"),
                                  "Source No." = FIELD("No.");
                RunPageView = SORTING("Source Document", "Source No.", "Location Code");
                
            }
However i do not know how to create a action on sales order with a link to POSTED warehouse document.  Has anyone got an example of how to create an indirect link where as far as I know sales order number is not stored directly on posted warehouse document
Thanks
  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    That seems to me not possible directly.

    Maybe you have to create an intermediate table where you store the information needed before calling the API.

    Just a wild guess...

  • Anita75 Profile Picture
    1,165 on at

    Ok Thanks I thought this was not that hard ..problem we are trying to solve here is in small business scenarios users do not want to use search and find posted documents etc. Perhaps a query and temporary table can solve this but i'm sure someone has done this already

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

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 755 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 413 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 387 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans