Commit c7b21f60 authored by ngadkari's avatar ngadkari

validation commented for checking Zero invoice

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@194228 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ed7af467
......@@ -6909,7 +6909,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
childNodeName = childNode.getNodeName();
// Changed by Manish on 22/12/15 for checking Zero invoice for DDUK[start]
if (childNodeName.equalsIgnoreCase("invoice_id"))
/*if (childNodeName.equalsIgnoreCase("invoice_id"))
{
String invoiceId = getAbsString(genericUtility
.getColumnValue("invoice_id", dom));
......@@ -6921,12 +6921,12 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
amt = rs.getDouble(1);
if (amt <= 0) {
System.out.println("Invoice of Zero amount");
/*
* errString =
* dbEjb.getErrorString("","VTZEROAMT"
* ,"","",conn); isError = true; return
* errString;
*/
errList.add("VTZEROAMT");
errFields.add(childNodeName.toLowerCase());
......@@ -6937,7 +6937,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
pstmt.close();
pstmt = null;
rs = null;
}
}*/ //commented by nandkumar gadkari on 10/12/18
// Changed by Manish on 22/12/15 for checking Zero invoice for DDUK[end]
if( childNodeName.equalsIgnoreCase( "tran_date" ) )
......
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