Locked Table General Journal Line Dimension
ta5
Member Posts: 1,164
Hi
We have an interface report that fills records in Table "General Journal Line".
While it is running, nobody else can insert records in that table, because they get the Error "Table General Journal Line Dimension is locked by user xy".
My questions:
1) Is there a way to find out, which operation is causing the lock (implicitly or explitly)?
2) It seems this is a standard problem. Anybody has a workaround for that?
Regards
Thomas
We have an interface report that fills records in Table "General Journal Line".
While it is running, nobody else can insert records in that table, because they get the Error "Table General Journal Line Dimension is locked by user xy".
My questions:
1) Is there a way to find out, which operation is causing the lock (implicitly or explitly)?
2) It seems this is a standard problem. Anybody has a workaround for that?
Regards
Thomas
0
Comments
-
Is your report filling that table directly or does that happen because of field validation? You may want to try committing every so many journal lines, that releases locks and may allow other processes to jump in between.
You'd use the client monitor to identify what is going on.0 -
Hi Daniel
Thx for your answer. The Journal Line Dimensions are inserted through field validation.
Commit is imho no option, because all or no lines should be imported by the interface.
Client monitor: Do I need to start this on the machine that executes the code that causes the lock -- or on the machine that is locked out?
Regards
Thomas0 -
I woud run it on both machines and see what happens. A lock is not a bad thing you know, it just takes time. You could maybe consider running the import on a faster machine (or a server even, or maybe in an instance of NAS), or schedule it at a time that people are not as busy in the system.0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
