Commit 82c12f6c authored by pchavan's avatar pchavan

Allow rate__clg value 0 remove validation.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198848 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ee8bbc20
......@@ -3529,13 +3529,16 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
lcrate = "0" ;
}
rate=lcrate == null ? 0 :Double.parseDouble(lcrate);
if(rate == 0)
System.out.println("Rate :" +rate);
// Changed By PriyankaC As per the suggest by SM sir remove the validation.[START]
/*if(rate == 0)
{
errCode = "VTINVRTCL2";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else if(rate < 0)
}*/
// Changed By PriyankaC As per the suggest by SM sir remove the validation.[END]
if(rate < 0)
{
errCode = "VTINVRTCL1";
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