Hi,
I have a question about locking of a table. What happens if a user 2 get's a warning that a table is locked and needs to wait until user 1 is finished and then to try again. Does User 2 still sits in the piece of code where it stopped because of the table locking or has it already left all the code and is back to a screen entry for example.
I'm asking because we have this issue with one of our customers. We have currently installed E-Ship from Lanham to one of our customers. That works great except sometimes we have a locking problem. There is no proper rollback when that happens. At one hand Navision is creating a Shipment and on the other hand Navision is NOT updating the Saleslines, so that the Qty to ship field is not updated.
Please advise.
Thanks,
Roelof de Jong.
0
Comments
BTW, there should not be a difference between a C/Side and SQL db, but what are you using?
There is difference - MS SQL server option have no such a message about locking (only for deadlocks...) I assume that Roelof is using Native DB...
For roelof:
You can use client monitor for checking, if there is (and where is) the commit statement... run client monitor, run the action which leads to the locking, after the message stop client mon and check the lines. You can use the extended client monitor objects (see download) which give you much better picture of what happend...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
There are many COMMIT statements in E-ship. It is possible that if your E-ship has been modified that there is a COMMIT in there somewhere that commits a partially posted transaction.
Get in touch with Lanham support and have them address this issue.
RIS Plus, LLC
Yes, that's what I thought.
I will contact Lanham and see if they can help me further.
Thanks for your help.
Roelof de Jong.
http://www.lanhamassoc.com/faq/FAQ_00048_WEB.htm