I suggest to change warehouse and locator deactivation ability when m_storageonhand.qtyonhand<>0
1. follow the same strategy as disallow negative qty
2. if user deactivate warehouse locator what happening. its too big unpredictable behaviour. (in case big warehouse is a real problem - soon locator status should be impleted later (same in compiere)
tested in 2.0.0.v20140508-0319
I follow below steps
Found warehouse → Locator which has qty on hand.
Marked locator as in active and saved. Able to disable locator withou qty onhand.
Created movement to move qtyonhand from disabled locator. on movement line not able to select disabled locator.
Marking this as minor as there is always work around to enable disabled locator and move stock from there.
This could be discussed, it's good to have a mechanism to temporarily disable a warehouse or a locator from being used (could be this a solution for example to isolate a warehouse or location while physical inventory count?).