When you turn on Directed Pick and Put-away to enable Warehouse Management in Dynamics NAV and you use multiple units of measure, there will be some instances where the Quantity and Quantity (Base) will not match. This will result in the quantities in the Item Ledger be different than the Warehouse Entry.
The problem was first discovered in version 5.0 and is still a problem in NAV2013 R2.
If you want to enable Directed Pick and Put-away, you will need add this fix in the code.
Table 7302
WhseActivLine.SETRANGE(“Variant Code”,”Variant Code”);
WhseActivLine.SETRANGE(“Unit of Measure Code”,”Unit of Measure Code”);
//WHM Fix – Begin
WhseActivLine.SETRANGE(“Action Type”,WhseActivLine.”Action Type”::Place);
//WHM Fix – End
COPYFILTER(“Lot No. Filter”,WhseActivLine.”Lot No.”);
In addition, you have to modify this codeunit marked in bold:
Codeunit 7313
//WHM Fix – Begin
IF (BinContent.”Max. Qty.” <> 0) AND
(BinContent.”Max. Qty.” * BinContent.”Qty. per Unit of Measure” >= BinContentQtyBase * BinContent.”Qty. per Unit of Measure”)
THEN BEGIN
//WHM Fix – End
Special thanks to Brian Rocatis for the fix.