Reservation Entry Locking
sdeore
Member Posts: 9
Hi All,
One of my customer is on NAV 5.00 (build 25653) on sql 2005.
Every sales orders is having 300+ lines and with reservation as always.
while I m trying to post sales orders and the same time another user is creating new sales order there is an error "Reservation entry locked by another user".
After some analysis I'v found the processes taking long time are :
CU 6500 - SumUpItemTracking(T337,TempHandlingSpecification,SumPerLine,SumPerLotSN)
CU 22 - ApplyItemLedgEntry(ItemLedgEntry,OldItemLedgEntry,ValueEntry,CausedByTransfer)
CU 99000845 - ClearSurplus()
Can someone help me on this ?
Thank you have great christmas time
One of my customer is on NAV 5.00 (build 25653) on sql 2005.
Every sales orders is having 300+ lines and with reservation as always.
while I m trying to post sales orders and the same time another user is creating new sales order there is an error "Reservation entry locked by another user".
After some analysis I'v found the processes taking long time are :
CU 6500 - SumUpItemTracking(T337,TempHandlingSpecification,SumPerLine,SumPerLotSN)
CU 22 - ApplyItemLedgEntry(ItemLedgEntry,OldItemLedgEntry,ValueEntry,CausedByTransfer)
CU 99000845 - ClearSurplus()
Can someone help me on this ?
Thank you have great christmas time
0
Comments
-
It’s difficult to avoid that. Because posting unfortunately has to lock many tables. If you business allows, one way around is to post all your sales invoices during night has a batch.0
-
Search the forum on Optimization, Deadlocks,Lock Timeout.
Locking is something that needs to happen for consistency. What you can do is Optimize your database to minimize the duration of your processes, thus minimizing the duration of the locks that are applied.0 -
Hi Everyone
Thank you for you replies.
I am able to solve this issue and the reason behind poor performance (effectively locking) was sqlIndex in NAV 5.00 version. I'v just deleted sqlindex from few tables and the prformance is amazingly fast now.
Thanks again and Happy New Year.
- Swapnil0 -
Hi,
I know its been a while since you posted a solution, but can you elborate on the index that you dropped?
Thanks
Fred0 -
Hi Fred,
Please go through the A222) SQL Index removed under Changes in NAV 5 0 SP1.doc document in 5.01 CD.
Cheers,
Swapnil0 -
Thanks for the reply.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
- 327 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