Fixed issue 25537: It would be nice to introduce decimals in the
authorVictor Villar <victor.villar@openbravo.com>
Thu, 06 Feb 2014 16:00:39 +0100
changeset 22688 7eaae425d5ad
parent 22687 95e63d963d4d
child 22689 143dbdd74f2b
Fixed issue 25537: It would be nice to introduce decimals in the
Rejected Qty field on the Production Run tab
src-db/database/sourcedata/AD_COLUMN.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Wed Mar 12 04:18:56 2014 +0000
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Thu Feb 06 16:00:39 2014 +0100
@@ -157115,7 +157115,7 @@
 <!--802027-->  <HELP><![CDATA[How many products have been rejected.]]></HELP>
 <!--802027-->  <COLUMNNAME><![CDATA[Rejectedquantity]]></COLUMNNAME>
 <!--802027-->  <AD_TABLE_ID><![CDATA[385]]></AD_TABLE_ID>
-<!--802027-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--802027-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
 <!--802027-->  <FIELDLENGTH><![CDATA[8]]></FIELDLENGTH>
 <!--802027-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--802027-->  <ISPARENT><![CDATA[N]]></ISPARENT>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java	Wed Mar 12 04:18:56 2014 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java	Thu Feb 06 16:00:39 2014 +0100
@@ -149,7 +149,7 @@
             productionPlan.setEstimatedTime(BigDecimal.ZERO);
           }
 
-          productionPlan.setRejectedQuantity(0L);
+          productionPlan.setRejectedQuantity(BigDecimal.ZERO);
           productionPlan.setCostCenterUse(BigDecimal.ZERO);
 
           productionPlan.setStartingTime(starttime);