Has anyone noticed that when you poste a Receipt and Shipment in warehouse management, the code does not contain any LOCKTABLE function?
We're running into problems where the Receipt and the Shipment are getting interrupted because someone else is posting a transfer order.
Anyone running into this problem? Or does the warehouse shipment and receipt calls the LOCKTABLE function, but it's just not apparent?
0
Comments
In these codeunits there are some locktables.
I don't have had the problem yet, so I don't know what you might do to solve it (except locking all from the warehouse posting routines).
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Yes, codeunits Sales-Post", "Purch.-Post", "TransferOrder-Post*" have the LOCKTABLE function. However, codeunit Whse.-Post Shipment and Whse.-Post Receipt does not use ANY LOCKTABLE.
This is creating havoc for the users when they post a large shipment or a large receipt in WHM.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
http://www.mibuso.com/forum/viewtopic.php?t=10025.
Problem can be that it can lock everything for quite a long time.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
If someone knows which is the document or the order...
And also:locking all can create performance problems. So you have to search a balance between better performance and more locking.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Tuning Navision for better performance
http://www.mibuso.com/dlinfo.asp?FileID=356
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I just correct the URL: http://www.mibuso.com/dlinfo.asp?FileID=356
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Yeah, but this problem is in the standard Navision coding... :-k
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Ok, I'm going to try calling LOCKTABLE earlier in the warehouse posting routines. I'm assuming Navision didn't use the LOCKTABLE earlier for a reason.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
PS : LOCKTABLE in itself doesn't lock the table. You have to do something like that to have a real lock:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!