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

Open page using RunPageLink when field not in base table

(0) ShareShare
ReportReport
Posted on by 3,297

Hi Guys

I have a custom list page with the purchase orders and the base table is the purchase header. Action on the page should open another page and I know how to pass a field to a new page as below example:

                    RunPageLink = "Source Type" = CONST(39),
                                  "Source Subtype" = FIELD("Document Type"),
                                  "Source No." = FIELD("No.");

But  if the field is not in the base table (Purchase header) of thelist page as below - here I want to open the sales order and sales order number is a variable rather than a field on purchase header

                    RunObject = Page "Sales Order";
                    RunPageLink = "No."= FIELD(SalesOrderNo_Variable);
Is it possible to pass a variable or any value not in the base table itself or any other methods to open pages such as the above example.  This is just an example and I'm more interested in the concept
I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    152 on at

    Instead of using the mentioned page action properties you can use an action trigger. In the trigger you can use local variables. This has a code snippet that would be typical: docs.microsoft.com/.../page-runmodal--method

    You sales order variables. How are these being set? They could form part of your filter criteria for setting a table view. Styles vary for this too. The job planning lines page for example has a few variations. Check out the source code.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans