User releases a transfer order and chooses Functions, Create Warehouse Shipment. The shipment is created but with no shipment lines. No error message appears. This happens in our testing environment but only for certain users. It does not appear to be related to the code unit, to the transfer from/to locations, or to the item used.
Users who experience this problem also have a problem creating a warehouse receipt for a purchase order - no receipt lines created, no error message. Any one have any suggestions as to the possible cause of this problem?
thanks
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
yes they are a warehouse employee for that location.
Mike
Have you done any modification in that area?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I took a look in the code and saw that while choosing the create shipment the code passes through the report "Get Source Documents" which is responsible on locating the appropriate documents and creating the header and lines.
I suggest you debug a little that report to see where it passes from to create the header and not the lines. You could place a breakpoint in the CreateShptHeader function and follow from there (it is not very far)...
I guess it is either a permission problem (but I haven't seen any WRITEPERMISSION check in the code) or a user problem, meaning that the users in the productive database might not have followed your instructions correctly and that is why they get that result.
Anyway, tell us how it went...
Arhontis
https://forum.mibuso.com/search
I agree that the issue seems to be related to permissions, but am curious as to the specific changes you made that caused the problem to disappear. I added users experiencing the problem to SUPER, resynched security, and didn't get a change in the behavior. I'm a super user in this database and can make a Warehouse Shipment with the appropriate lines all day long.
Frustrating!
I always recommend the standard security.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
No. I recommend to run in mixed mode. What happens when your Domain controller fails? How will consultants connect to the db?
Going back to what I suggested, which is different than your comment above.
Navision added Two security model in 4.0 sp3. To change this.
File->database->alter-> advanced tab. You'll find an option for security model.
you need to set it standard Model.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
This is caused by a SQL bug in flowfields that seems to affect mainly the exists calculation.
You can edit "Whse. Completely Handled" to = NO in th table to fix this.
Version 5 update 1 is meant to fix this - but it requires reinstalling nassql as well if you are running it and it also introduces index hinting (like version 4 SP3 update 6).
http://mibuso.com/blogs/davidmachanick/
I am regularly amazed by the sheer volume of bugs we consultants get to explain to our clients. Your explanation about the incorrect flowfield calculation makes sense, but the problem still seems to somehow relate to NAV/SQL security synchronization since it doesn't come up for some users.
My client is on 4.0 SP1, so it sounds like the first course of action would be for us to get them up to 4.0 SP3 update 6.
Thanks again for the information!
Is this a bug then? What fix are there?
ERP Consultant (not just Navision) & Navision challenger