Commit 87a41f7b authored by pdas's avatar pdas

ADDED VALIDATION FOR NEGATIVE MIN RATE


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98037 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b2cdebec
......@@ -426,7 +426,7 @@ public class PriceListGenIC extends ValidatorEJB implements PriceListGenLocal, P
minRate = Double.parseDouble(minRateStr);
rate = Double.parseDouble(rateStr);
maxRate = Double.parseDouble(maxRateStr);
if(rate<0)
if(rate<0 || minRate<0 )
{
errCode = "VTSUBCRATE";
errList.add(errCode);
......
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