Commit a16c93ea authored by prane's avatar prane

uncommented exception throw logic in case of adv amount < 0

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204106 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22ecade7
...@@ -317,10 +317,10 @@ public class ReceiptAdvPostSave extends ValidatorEJB implements ReceiptAdvPostSa ...@@ -317,10 +317,10 @@ public class ReceiptAdvPostSave extends ValidatorEJB implements ReceiptAdvPostSa
System.out.println("newAdvAmt: "+newAdvAmt); System.out.println("newAdvAmt: "+newAdvAmt);
if (newAdvAmt < 0 ) if (newAdvAmt < 0 )
{ {
//Pavan R 26Jul19 commented below error msg and uncommented exception throw logic
errorString=itmDBAccessEJB.getErrorString("","VTNEGADV","","",conn); //errorString=itmDBAccessEJB.getErrorString("","VTNEGADV","","",conn);
System.out.println("errorString :"+errorString); //System.out.println("errorString :"+errorString);
//throw new Exception("Advance amount calculated is becoming negative [" + newAdvAmt + "]" ); throw new Exception("Advance amount calculated is becoming negative [" + newAdvAmt + "]" );
} }
// end 29/05/14 manoharan // end 29/05/14 manoharan
......
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