Dear all,
I am using NAV 2013 build 35177.
There are so many lock error in live environment.
When lock error is appeared in posting process and user didn't click OK, whether this will affect another user (ex: this will lock another user)? If it affect another user, how to close lock error automatically?
Please help.. Thank you..
Best regards,
Johanna
0
Comments
"It Specifies if your business process uses job queues in the background to post sales and purchase documents, including orders, invoices, return orders, and credit memos. Select this check box to enable background posting."
Here is the msdn help link
http://msdn.microsoft.com/en-us/library/hh879081(v=nav.70).aspx
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thank you for your suggestion.. But, unfortunately, we cannot use background posting because we need to print the report as soon as possible to give it to customer..
When lock error is appeared in posting process and user didn't click OK, do you know whether this will affect another user (ex: this will lock another user)? If it affect another user, how to close lock error automatically?
Thank you
Johanna
When you say "lock error", do you mean deadlock error or lock timeout? If the first is the case, I would like to hear more about it. If it's the latter, then, dependent on the posting time for a typical order, you could try to change the "Lock Timeout" in the "Alter Database" window in the "Advanced" tab. By default it is set to 10 seconds, but I think you can safely set it to 30 or 60 seconds, dependent on how long your transactions are and how patient the lock victims are. Personally, I would rather wait 30 seconds and then have my job processed than being kicked out after 10 seconds.
Microsoft - Dynamics NAV
However, this window should not be hidden because it's the only way to inform the user that his transaction was rolled-back. Otherwise users would think that it completed.
It is locktimeout error. Thank you for your suggestion about locktimeout. I will set to 30s.
Dear kapamarou,
It is locktimeout errror. So, if it is locktimeout error, the error message that is not closed will lock another user, right?
Yes, you are right about the error message must be shown. I just want to know whether is it possible to close error locktimeout automatically.
Johanna
Thank you for your information. Yes, I am still research for improving system performance and therefore reducing the timeout lock error.
Yes, I agree with you that continual lock timeouts should not be an acceptable condition.
Thank you
Johanna