Another user has modified...

RachelSoon
Member Posts: 202
Hi There,
msg prompted : Another user has modified the record for this analysis View after you retrieved it from the database.
Enter your changes again in the updated window, or start the interruptted activity again.
Identification fields and values:
Code : 'B52'
My user got the msg above when the user doing the posting of sales recuring journal.
At that point of time, there was no user modifying the analysis view.
Pls advice on the possible clue that i can look into.
Thanks
Rachel
msg prompted : Another user has modified the record for this analysis View after you retrieved it from the database.
Enter your changes again in the updated window, or start the interruptted activity again.
Identification fields and values:
Code : 'B52'
My user got the msg above when the user doing the posting of sales recuring journal.
At that point of time, there was no user modifying the analysis view.
Pls advice on the possible clue that i can look into.
Thanks
Rachel
0
Comments
-
You have some modifications?
In code somewhere is this construction:RecXXVar1.GET(PrimKey); ... RecXXVar2.GET(PrimKey); RecXXVar2.FieldYYY := Value; RecXXVar2.MODIFY; ... RecXXVar1.MODIFY;
this may be nested into some functions etc.
Use Client monitor to catch the code, where the table is modified before the last MODIFY which reise error (I found for example this construction of code in 1. adjustment batch in cronus in 3.70A, may be that it is standard bug :-)0 -
Hi Kine,
Do you know where can i get this type of coding or problem in Navision 3.60?
the user also gets this message on the chart of account when drill down the net change.
the user is using the SQL option0 -
I think, that simple way how to find the point is to turn debug on and look where error is produced. This is the point, where you want to save changes on something, what was changed between reading the record and saving. Look where your varibale which you want to save is read from DB (nearest FIND, GET or NEXT) and look into code between to find where is the point of second modify for the same record.
Sorry, it is 1 year ago when I looked into 3.60 and in this time we are not using 3.60 with SQL server... this sort of problem is reising mainly after starting to use MS SQL. In Native DB it may be all OK...0 -
There is an error in the v3.60 Codeunit 410 - Update Analysis View that can result in the 'Another user has modified...' error message if you have any Analysis Views with "Update on Posting" selected, and two or more posting procedures (sales, purchase, g/l, etc) are run at the same time.
This error is corrected in v3.70. I believe the correction basically involved the removal of the COMMIT statements (especially the 2nd one) from the codeunit.
If you do not wish to change the codeuint, you can avoid this error by removing the "Update on Posting" check from all Analysis Views.0 -
Hi Kine and FB,
thanks for the idea. i will look into it. It enlighten me a lot.0 -
Hi
We have the same problem in codeunit 410, Navision 3.60.
Is there a hotfix for this?
Thomas0 -
Client monitor can be very usefull for tracking down this type of problem. The error message identifies the table and record that has been modified by "another user". Run the process with client monitor turned on and then filter the results of client monitor to find other activity for that same record.0
-
Hi
Unfortunately it is quite hard to reproduce (never happened in our development environment). But it happens about once a week on the customers site.
Thomas0
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