uzerpllp / uzerp

uzERP - Open Source Business Management
http://www.uzerp.com
Other
53 stars 26 forks source link

Restrict UOM on product headers where linked product to an item #22

Open steveblamey opened 8 years ago

steveblamey commented 8 years ago

When setting up a SO Product Line, the available UoMs for an item are the base UoM for the item plus any item conversions.

So it is possible to have an item with base unit Case but which is ordered in Packs (this could introduce rounding problems but is allowed!).

However, in this case, the order gets created OK with UoM packs, but the supply/demand does not show UoM and does not do a UoM conversion. Also, when the order is despatched, the item balance is reduced by the number of packs not the number of cases; i.e. it does not do UoM conversion on despatch.

mshiner commented 8 years ago

The way to fix this is to restrict product UOM to be as per the item UOM when there is a stock item.

mshiner commented 8 years ago

The description for this was.... Error on despatch and Supply/Demand when SO Product line UoM differs to Item UoM(6-882)