Commit fb29e195 authored by mnair's avatar mnair

Validation for realized quantity and dispatch quantity mismatch

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174313 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0dcccbae
...@@ -2666,7 +2666,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch ...@@ -2666,7 +2666,7 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
convQtyStduom = checkNull(genericUtility.getColumnValue("conv__qty_stduom", dom)); convQtyStduom = checkNull(genericUtility.getColumnValue("conv__qty_stduom", dom));
ArrayList quantityRealList=new ArrayList(); //ArrayList quantityRealList=new ArrayList();
quantityRealList = distCommon.convQtyFactor(unit, unitStd,itemCodeOrd, Double.parseDouble(quantity),Double.parseDouble(convQtyStduom), conn); quantityRealList = distCommon.convQtyFactor(unit, unitStd,itemCodeOrd, Double.parseDouble(quantity),Double.parseDouble(convQtyStduom), conn);
quantityReal = Double.parseDouble( quantityRealList.get(1)== null ?"0": quantityRealList.get(1).toString() ); quantityReal = Double.parseDouble( quantityRealList.get(1)== null ?"0": quantityRealList.get(1).toString() );
System.out.println("quantityReal["+quantityReal+"]"); System.out.println("quantityReal["+quantityReal+"]");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment