We are currently on NAV 2009 R2. In the Calculate Warehouse Adjustments report there is code that accesses the Item Unit of Measure table for the Qty. per Unit of Measure instead of using the Qty. per Unit of Measure from the Warehouse Entry table. If the Qty. per Unit of Measure in the Item Unit of Measure is changed between the time the Warehouse Entry gets created and the Calculate Warehouse Adjustment runs, the Bin and Perpetual would be out of sync. Has anyone had this issue?
Joe
0
Answers
The way to fix this is to make sure there are no warehouse shipment/receipt/transfer and pick/putaway documents for that item.
Then write a processing report that loops through all the warehouse entries for that item/unit of measure and updates the qty per unit of measure and Quantity base to the correct value.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
The issue did come up because of a mistake, and I got involved because they want to remove an invalid Unit of Measure. They can't because there are Warehouse Entries with that UOM. If the code used the Qty. per Unit of Measure from the Warehouse Entry instead of the Item Unit of Measure, Calculate Warehouse Adjustments would not error due to the ItemUOM.GET not finding an Item Unit of Measure that was removed.
I am comfortable with changing the Warehouse Entry table, but I do not think Finance or our Auditors are.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
In this case, they want the Item Unit of Measure removed "forever" becasue they do not want the users using it.
It looks like I have two choices.
1. Update the warehouse entries with a valid UOM and alter the quantities accordingly.
(Would need to fix each time this happens)
2. Add "Qty. per Unit of Measure" to the Bin Content Buffer table and alter Calculate Warehouse Adjustment report to populate this field from the Warehouse Entry, remove the ItemUOM.GET, and use the Bin Content Buffer."Qty. per Unit of Measure" instead of the ItemUOM
(permanent fix)
I will propose this to Finance and let them decide.
Thanks for the suggestions.
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
Microsoft is a big animal. Could you point me in the right direction as to how I would do this.
Thanks,
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