Hi,
Our client is working on NAV 4.0 SP1.
They are actually being able to process transactions though stock is negative.
They want to disable this functionality, that is, the system should not allow users to process transactions when stock quantity is zero.
Can someone please advise urgently?
Thanks and Regards,
Beatrice.
0
Comments
http://ssdynamics.co.in
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
So this is not a standard feature in Navision.
The client wants the system to prevent users from making any outbound transactions (transfer shipments, negative adjustments, sales shipment, etc.) which will result in negative stock.
Thanks and Regards,
Beatrice.
The problem is that I am not a technical person, I went on the Design of CodeUnit 22: Item Jnl.-Post Line, but under which tab should I add this Code?
Thanks and Regards,
Beatrice.
Well if you are not 100% sure, then maybe this is a better job for your developers. I am not sure I really want to guide you through modifying CU22 in a forum, since it can cause damage if you are not comfortable modifying core code units.
I will see this with a developer.
So to conclude you think that by adding this code it will prevent users from posting any outbound transactions when Quantity on Stock is zero.
Thanks very much.
Regards,
Beatrice.
Sorry, I am just really nervous helping someone inside any of the x2 codeunits. They really are the core of Navision.
But yes you are correct, basically what you are saying to Navision is that it must not insert or modify an Item ledger entry if the Remaining Qty is negative.
As an extension to this, I often will add a tick box to the Location table or the Inventory Setup table that says to only make this test for certain locations.
PS since its going to a developer, ....
The first point to modify, is in Trigger: just before the ItemLedgEntry.INSERT; command.
The second is the just before the OldItemLedgEntry.MODIFY; command.