Page needs to be refreshed to display Data

doddwell
Member Posts: 65
Hello
I have modified the Purchase Invoice page (ID 51) to display some data in some new "Approval" tables I have created.
Data is Inserted/Modified in the "Approval" tables using a Windows application using Stored Procedures.
It looks as though NAV only ever displays the data as was when Inserted. In order to display the Modified data, the "Refresh (F5)" Page Action has to be pressed. Once refreshed, the page 'remembers' the data for the individual record in it's Modified state even after closing and re-opening the NAV2016 Application.
How do I configure the Page so that it does not need to be refreshed?
Many Thanks.
I have modified the Purchase Invoice page (ID 51) to display some data in some new "Approval" tables I have created.
Data is Inserted/Modified in the "Approval" tables using a Windows application using Stored Procedures.
It looks as though NAV only ever displays the data as was when Inserted. In order to display the Modified data, the "Refresh (F5)" Page Action has to be pressed. Once refreshed, the page 'remembers' the data for the individual record in it's Modified state even after closing and re-opening the NAV2016 Application.
How do I configure the Page so that it does not need to be refreshed?
Many Thanks.
0
Best Answer
Answers
-
Dodwell,
If you are doing any kind of operation from the SQl Stored Procedure then the page has to be refreshed or either you reopen the page. How and when can you expect that NAV Page to get it automatically refreshed keeping the Page Idle in Open mode.
Let me know if I misunderstood something.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Hello RockWithNAV
Following execution of the SQL Stored Procedure, Closing/Re-opening the Page (even closing/re-opening NAV) does not update the data on the NAV Page. I still have to press Refresh on the Page.
Thanks0 -
Thats truly sounds crazy to me because whenever we use to open a NAV Page it automatically gets refreshed. You saying even after closing opening NAV am shocked.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
The data is being cached by the service tier, use SELECTLATESTVERSION command to clear the cache and get the latest version of the data from SQL.
Set the following for a very brief description on this command...
https://msdn.microsoft.com/en-us/library/dd355033(v=nav.90).aspx0 -
Hello RockWithNAV
That's right - Closing and Re-opening NAV has no effect. I still have to refresh the page. Very strange I know. Any ideas? Thanks0 -
Can you please cross check once restarting the NAV Service.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
SELECTLATESTVERSION solved my problem. I placed it in the OnInit() event on the page. If I get around to it, guess I should alter my Stored Procedures so that they call NAV Web Services rather than updating the Tables directly. Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions