Commit 7b5b4e46 authored by mjadhav's avatar mjadhav

changes done for rcp_amt negetive not allow


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97569 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 74bcec9f
...@@ -54,7 +54,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -54,7 +54,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
GenericUtility genericUtility = GenericUtility.getInstance(); GenericUtility genericUtility = GenericUtility.getInstance();
try try
{ {
allXmlDataStr1=allXmlDataStr; allXmlDataStr1=allXmlDataStr;
if(currXmlDataStr != null && currXmlDataStr.trim().length()!= 0) if(currXmlDataStr != null && currXmlDataStr.trim().length()!= 0)
{ {
//System.out.println ( "currXmlDataStr: " + currXmlDataStr); //System.out.println ( "currXmlDataStr: " + currXmlDataStr);
...@@ -249,7 +249,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -249,7 +249,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
rs.close(); // added By akhilesh on 10/01/13 to close the statement rs.close();
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
...@@ -1359,7 +1359,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -1359,7 +1359,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
/*
private boolean isDulplicateFrmDom(Document dom,String refNo, String lineNo,String refSer) throws ITMException private boolean isDulplicateFrmDom(Document dom,String refNo, String lineNo,String refSer) throws ITMException
{ {
NodeList parentList = null; NodeList parentList = null;
...@@ -1454,7 +1454,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -1454,7 +1454,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
return isDulplicate; return isDulplicate;
} }
*/
public boolean isDulplicateFrmDom() throws ITMException public boolean isDulplicateFrmDom() throws ITMException
{ {
boolean isDulplicate=false; boolean isDulplicate=false;
......
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