Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Open Page with Filtered View

Posted on by 397 User Group Leader
Hello!
 
Does anyone know how to open a new page with Run.Page() or the RunPageObject? 
 
I have tried two cases, but i cannot achieve the desired result. (Only the orders with the same /Clean Order No./ should be displayed) Nevertheless, all sales orders are displayed...
 
 
or
 
 
 
Do I have to set a new key? Or is it that the fields I'm filtering are custom made? Did I miss something?
 
Thanks in advance! Tom
Categories:
  • T_Mauser Profile Picture
    T_Mauser 397 User Group Leader on at
    Open Page with Filtered View
    @NAV_with_Narang yes it has values
  • T_Mauser Profile Picture
    T_Mauser 397 User Group Leader on at
    Open Page with Filtered View
    It's a normal field....
     
     
    But how to you normally run a page? 
  • Community member Profile Picture
    Community member 13 on at
    Open Page with Filtered View
    Your code looks fine at first glance.
     
    What field type is the Clean Order No. field?
    Is it just a normal field, or rather a FlowField or even a FlowFilter?
  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    Open Page with Filtered View
    I request you run a debugger and see if your SalesHeader variable has any values in it or not

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans