Refresh Page
jsinisa
Member Posts: 27
Hi, we have a development which show list of Production orders in different colors, depending on Item availability. Now, we have following issue.
User will see Production Order in the list as red, jumps to Production Order from the list, do whatever is needed to correct issue, closes Production Order Page and comes back to the list, but the list still shows line as red. After user closes the list and comes back to the list, line will be shown with correct color.
I have tried with setting RefreshOnActivate to Yes, but nothing happened.
Is there any way to have lines refresh immediately after closing Production Order and coming back to the list?
User will see Production Order in the list as red, jumps to Production Order from the list, do whatever is needed to correct issue, closes Production Order Page and comes back to the list, but the list still shows line as red. After user closes the list and comes back to the list, line will be shown with correct color.
I have tried with setting RefreshOnActivate to Yes, but nothing happened.
Is there any way to have lines refresh immediately after closing Production Order and coming back to the list?
0
Comments
-
The issue here is you want to use somethink like Currpage.Update();
But in you have a normal List/Card page setup you cannot control when the user is leaving the card page,
but if you have something else where you control the cardpage with runmodal you can.
For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
The code that modifies StyleExpr move it to OnAfterGetCurrRecord.
Or
Implement the PingPong design pattern to the page. (This might not be a good idea if it's a big list and/or a slow server)Visit my Technical AL Blog at: https://www.altoolbox.com/0 -
Yo can go with Ping Pong OR Windows Host Model.
Look at this
https://rockwithnav.wordpress.com/2016/05/05/update-flowfields-at-runtime-no-need-to-refresh/Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

