Restart Navision to view sql update
sergiosmail
Member Posts: 6
Hello all
This is my first post :? here
I'm 'big fan' of mibuso! ](*,)
Ok! this is my issue: basically I'm modifying records from [MyCompany$Item] table as expected using SQL sentences i.e.:
update [MyCompany$Item] set [a_field]=200 where [No_]='000000'
After check with SQL console that update works, go to Navision frontend. It doesn't reflect the changes until I close&open Navision (updates inside Navision are working flawlessly)
Lot of thanks of reply!!!
This is my first post :? here
I'm 'big fan' of mibuso! ](*,)
Ok! this is my issue: basically I'm modifying records from [MyCompany$Item] table as expected using SQL sentences i.e.:
update [MyCompany$Item] set [a_field]=200 where [No_]='000000'
After check with SQL console that update works, go to Navision frontend. It doesn't reflect the changes until I close&open Navision (updates inside Navision are working flawlessly)
Lot of thanks of reply!!!
0
Answers
-
ebsoft wrote:Are you sure?
Usually it's enough to refresh the view (table/form/page).
:-k
Thanks! By my side is necessary to restart app. When I close and open items form (or refresh) it doesn't shows the update changes until restart whole navision client app
:shock:0 -
Thank you ebsoft!
Given your amazement :-k , I have reviewed the procedure
Your are right! =D> It doesn't matter if I close and open the item form (product form)
One minute after SQL update, changes are visible to Navision client! :?: This make sense for you?0 -
sergiosmail wrote:Thank you ebsoft!
Given your amazement :-k , I have reviewed the procedure
Your are right! =D> It doesn't matter if I close and open the item form (product form)
One minute after SQL update, changes are visible to Navision client! :?: This make sense for you?
You're welcome..
One minute? It seems it's a bit slow as process!
It should be immediate. Just try CTRL+ALT+F5 to refresh the form to see if you have information updated. 0 -
ebsoft wrote:
You're welcome..
One minute? It seems it's a bit slow as process!
It should be immediate. Just try CTRL+ALT+F5 to refresh the form to see if you have information updated.
With CTRL+ALT+F5 works!
Then every time I close and open "product detail form" Navision doesn't catch data from SQL server?
:-k In other words CTRL+ALT+F5 isn't the same than close/open form? This seems to me very ugly0 -
sergiosmail wrote:ebsoft wrote:
You're welcome..
One minute? It seems it's a bit slow as process!
It should be immediate. Just try CTRL+ALT+F5 to refresh the form to see if you have information updated.
With CTRL+ALT+F5 works!
Then every time I close and open "product detail form" Navision doesn't catch data from SQL server?
:-k In other words CTRL+ALT+F5 isn't the same than close/open form? This seems to me very ugly
That's strange because it should updated the information in it.
Just put a currform.update OnOpenForm and it's done! or OnAfterGetRecord.
Hope it helps.0 -
ebsoft wrote:That's strange because it should updated the information in it.
Just put a currform.update OnOpenForm and it's done! or OnAfterGetRecord.
Hope it helps.
Solved! =D>0 -
sergiosmail wrote:ebsoft wrote:That's strange because it should updated the information in it.
Just put a currform.update OnOpenForm and it's done! or OnAfterGetRecord.
Hope it helps.
Solved! =D>
remember to mark the post as solved. 0 -
Strange issue.
Do you run the SQL stament alone or is it in a batch? When is the SQL transaction commited?0 -
Both the classic client and the RTC (2013) have datacaching.
If you update data directly on SQL there is a chance that the change is not picked up by NAV directly.
Question is, why to you update data directly in SQL?0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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
