Commit fbb4b9e2 authored by dpawar's avatar dpawar

Done validation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92380 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a95b1958
......@@ -243,7 +243,6 @@ public class BondRecovery extends ValidatorEJB implements BondRecoveryLocal, Bon
errString = getErrorString("recovery_amt__act",errCode,userId);
break;
}
if( bondAmt !=null && bondAmt.trim().length() > 0 )
{
......@@ -258,20 +257,21 @@ public class BondRecovery extends ValidatorEJB implements BondRecoveryLocal, Bon
break;
}
}
/*if( bondAmt !=null && bondAmt.trim().length() > 0 )
}
if (recAmtAct != null && recAmtAct.trim().length() > 0 )
{
if(bondAmount == recAmountDone)
recAmountAct=Double.parseDouble(recAmtAct);
recAmountDue=Double.parseDouble(recAmtDue);
if(recAmountAct > recAmountDue)
{
errCode="VRECAMTGRT";
System.out.println("greater condition-------");
errCode="VBACTAMTGR";
errString = getErrorString("recovery_amt__done",errCode,userId);
break;
}
}*/
}
}
else if (childNodeName.equalsIgnoreCase("acct_code__bond"))
......@@ -368,7 +368,7 @@ public class BondRecovery extends ValidatorEJB implements BondRecoveryLocal, Bon
}
}
else if (childNodeName.equalsIgnoreCase("bond_amt"))
/*else if (childNodeName.equalsIgnoreCase("bond_amt"))
{
bondAmt = genericUtility.getColumnValue("bond_amt",dom);
if (bondAmt == null || bondAmt.trim().length() == 0 )
......@@ -377,7 +377,7 @@ public class BondRecovery extends ValidatorEJB implements BondRecoveryLocal, Bon
errString = getErrorString("bond_amt",errCode,userId);
break;
}
}
}*/
}// for loop end
} //end switch
......@@ -417,7 +417,7 @@ public class BondRecovery extends ValidatorEJB implements BondRecoveryLocal, Bon
public String itemChanged(String xmlString, String xmlString1,String xmlString2, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException
{
System.out.println("in item changed");
System.out.println("in item changed --------->>>");
Document dom = null;
Document dom1 = null;
Document dom2 = null;
......
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