Navision 2015 data update from sql server database.

george175
Member Posts: 26
Hi all,
I have one question for you. When I update some data(big sql procedure for update or import data from excel with lot of columns ) , for example in Item tablem , with UPDATE query in sql server, I can see change with select query in sql, but if i go into NAV , I dont see change sometimes and i have to restart instance service in NAV Administration. If I modify updated record in client aplication i get error that "Another user has modified the record on database server"
Anybody know, why is this happeing?
What I have to do in NAV or in sql server, to see data update in NAV, instead restart aplication server?
thx for answers,
I have one question for you. When I update some data(big sql procedure for update or import data from excel with lot of columns ) , for example in Item tablem , with UPDATE query in sql server, I can see change with select query in sql, but if i go into NAV , I dont see change sometimes and i have to restart instance service in NAV Administration. If I modify updated record in client aplication i get error that "Another user has modified the record on database server"
Anybody know, why is this happeing?
What I have to do in NAV or in sql server, to see data update in NAV, instead restart aplication server?
thx for answers,
0
Answers
-
Hi,
NAV tables in SQL have a timestamp field (an internal counter / tracker for changes on a record) that you probably do not use / update.
Could that be the explanation?
Good luck.\\The truth exists in seven versions.0 -
-
Have not tried this myself but is is an integer. You can try and update (+1) it yourself in SQL.
Think that it is tricky and you could still have ""Another user has modified the record on database server"" errors but maybe you test it.
Let us know what you find!\\The truth exists in seven versions.0 -
OK, i tested it now. I updated one record with my procedure. Timestamp value has changed from 0x000000000ECFD55 to 0x000000000ED0551. I can se update on sql server, but not in NAV still. When I change one value in NAV for this record, for example description, i will get error "Another user has modified the record for this Item after you retreived it from the database. Enter your changes again in the updated window, or start the interrupted activity again"0
-
So finally , i found Update button on Item list in NAV, which update all records from sql server.0
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