Test Use Case:
1. Create a product type BOM measured in pounds (lb)
2. Create a Manufacturing Order for 500 lb of this product
It doesn't bring up the correct UOM (Pounds) into the manufacturing order, instead it takes the default UOM (Each)
Regards,
Revision: 8189
http://adempiere.svn.sourceforge.net/adempiere/?rev=8189&view=rev
Author: vpj-cd
Date: 2009-01-27 08:14:05 +0000 (Tue, 27 Jan 2009)
Log Message:
-----------
It doesn't get the right UOM into the Manufacturing Order
http://sourceforge.net/tracker2/?func=detail&atid=879332&aid=2530090&group_id=176962
Fix the Default UOM, refactory method do not is necessary send the context this can be take of Product instance.
Modified Paths:
--------------
trunk/base/src/org/compiere/wf/MWorkflow.java
trunk/base/src/org/eevolution/model/CalloutOrder.java
trunk/base/src/org/eevolution/model/MPPMRP.java
trunk/base/src/org/eevolution/model/MPPOrderBOMLine.java
trunk/base/src/org/eevolution/model/MPPProductBOM.java
trunk/base/src/org/eevolution/process/MRP.java
trunk/base/src/org/eevolution/process/RollupBillOfMaterial.java
trunk/base/src/org/eevolution/process/RollupWorkflow.java
Kind regards
Victor Perez
www.e-evolution.com
Revision: 8214
http://adempiere.svn.sourceforge.net/adempiere/?rev=8214&view=rev
Author: teo_sarca
Date: 2009-01-28 07:24:18 +0000 (Wed, 28 Jan 2009)
Log Message:
-----------
Current AD do not support multiples calendar for Org
http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2520591&group_id=176962
* fixed indentation
* MPeriod.get(Properties ctx, int C_Period_ID) - should return null if C_Period_ID is 0 (same as other methods like this)
Modified Paths:
--------------
trunk/base/src/org/compiere/model/MPeriod.java
Revision: 8215
http://adempiere.svn.sourceforge.net/adempiere/?rev=8215&view=rev
Author: teo_sarca
Date: 2009-01-28 07:31:31 +0000 (Wed, 28 Jan 2009)
Log Message:
-----------
BF [ 2530090 ] It doesn't get the right UOM into the Manufacturing Order
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2530090&group_id=176962
RollupBillOfMaterial.java : fixed a possible issue when different products have different costing levels
RULE: never modify a process parameter variable because it's too error prone (like p_AD_Org_ID in this case)
Modified Paths:
--------------
trunk/base/src/org/eevolution/process/RollupBillOfMaterial.java
I tested it too, now it works.
Thank you all