Commit 50ce2c3e authored by vdhoble's avatar vdhoble

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99526 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4cc0bbb3
...@@ -454,7 +454,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -454,7 +454,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
siteCode = this.genericUtility.getColumnValue("site_code", dom); siteCode = this.genericUtility.getColumnValue("site_code", dom);
System.out.println("siteCode for customer checking.."); System.out.println("siteCode for customer checking..");
sql = "select COUNT(*) AS COUNT from site_customer where cust_code=? and site_code=? " ; sql = "select COUNT(*) AS COUNT from site_customer where cust_code=? and site_code=? and active_yn = 'Y' " ;
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,custCode); pstmt.setString(1,custCode);
pstmt.setString(2,siteCode); pstmt.setString(2,siteCode);
...@@ -847,7 +847,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -847,7 +847,7 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
/********************added by vishakha for checking for unconfirmed transaction for refno,amount should not exceed the receivables amount******/ /**************************/
if(isAmountExceed(domAll,conn)) if(isAmountExceed(domAll,conn))
{ {
...@@ -1442,13 +1442,13 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen ...@@ -1442,13 +1442,13 @@ public class GenReceiptIC extends ValidatorEJB implements GenReceiptICLocal, Gen
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
if(userLevel == 1 || userLevel == 0 )//for user level 1 and 0 pophelp available /*if(userLevel == 1 || userLevel == 0 )//for user level 1 and 0 pophelp available
{ {*/
System.out.println("If User level is one****"+logCode); System.out.println("If User level is *"+logCode+"******userLevel"+userLevel);
valueXmlString.append("<user_level>").append( userLevel ).append("</user_level>\r\n"); valueXmlString.append("<user_level>").append( userLevel ).append("</user_level>\r\n");
valueXmlString.append("<user_id>").append( logCode ).append("</user_id>\r\n"); valueXmlString.append("<user_id>").append( logCode ).append("</user_id>\r\n");
//valueXmlString.append( userLevel ).append( "</editFlag>\r\n</Header>\r\n" ); //valueXmlString.append( userLevel ).append( "</editFlag>\r\n</Header>\r\n" );
} /*}*/
......
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