Well know error while saving web part

naimish_hit
Member Posts: 111
Error during Modify (20): Another user has modified the record for this Object after you retrieved it from the database. Enter your changes again in the Web Part.
What cause this error?
With Best Regards,
NAimish Dave
What cause this error?
With Best Regards,
NAimish Dave
Naimish Dave
(Software Engineer)
(Software Engineer)
0
Comments
-
Hi,
this is caused as it states: Another user has modified the record in the database.
Because of the nature of the NAS, he is getting the record and afterwards he knows nothing any longer about the record version information.
This means when one person is modifying the data in EP and another person is modifying the same record in Navision the following scenario may happen:
A.) First NAV user save record, second NEP user save the record
-> Changes of NAV user would be overwritten
B.) First EP, second NAV user
-> The NAV user will get a warning, that someone else has modified the record. He gets this because the client has internally access to a timestamp of the record and therefore he checks before commiting the data in the DB if the timestamp is still the same as when he got the record from the db
Solution:
In EP each transmitted record gets a HashValue calculated over the complete record.
This information is sent to the backend when the user wants to do any modification. The NAS is first calculating the HashValue of the current record in NAV and if the both values are matching he knows that no one else has modified the record in the meantime. Then he can start his modification.
Clear enough?
HTH,
Rainer0 -
Check also my reply in this topic : http://www.mibuso.com/forum/viewtopic.php?t=10128Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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