Commit 6c038c9d authored by ngadkari's avatar ngadkari

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174893 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 130dfa45
......@@ -665,16 +665,17 @@ public class DemandGenPrc extends ProcessEJB implements DemandGenPrcLocal,Demand
appMinQty=rs1.getDouble("app_min_qty");
appMaxQty=rs1.getDouble("app_max_qty");
}
if(chrgQty >= appMinQty && chrgQty <= appMaxQty)
{
/*if(chrgQty >= appMinQty && chrgQty <= appMaxQty)
{*/
DecimalFormat df=new DecimalFormat("################");
freeQty=Double.parseDouble(df.format(chrgQty/batchQty))*qtyPer;
}
/*}
else
{
freeQty=0.0;
}
*/
}
else
{
......
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