Commit 0b7a1dad authored by praut's avatar praut

Forecast related changes

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202404 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a6787af5
......@@ -627,7 +627,7 @@ public class BuildForecastPrc extends ProcessEJB
{
String userid = getUserInfo().getLoginCode();
String termid = getUserInfo().getLoginCode();
float lc_quantity = 0, lc_perc = 0, qty = 0;
float lc_quantity = 0, lc_perc = 1, qty = 0;
int hdrInsCont = 0;
int detInsCont = 0;
......@@ -701,12 +701,12 @@ public class BuildForecastPrc extends ProcessEJB
{
lc_quantity = qty + (qty * forecastBean.getPercent())/100;
}
else
else if ( lc_perc > 0 )
{
lc_quantity = qty + (qty * lc_perc)/100;
}
}
else
else if ( lc_perc > 0 )
{
lc_quantity = qty + (qty * lc_perc)/100;
}
......
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