Commit 0a5f0426 authored by dpawar's avatar dpawar

replace cust_code as cust_code__bil


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96058 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b16c914e
...@@ -243,13 +243,13 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca ...@@ -243,13 +243,13 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
errList.add( errCode ); errList.add( errCode );
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
} }
//check if entered customer code not in invoice //check if entered customer code bill not in invoice
custCodeInv=getColumnDescr(conn,"cust_code","invoice","invoice_id",invId); custCodeInv=getColumnDescr(conn,"cust_code__bil","invoice","invoice_id",invId);
custCodeInv=custCodeInv==null ? "" : custCodeInv.trim(); custCodeInv=custCodeInv==null ? "" : custCodeInv.trim();
System.out.println("cust_code invID----->>["+custCodeInv+"]"); System.out.println("cust_code bill invID----->>["+custCodeInv+"]");
if(!(custCodeInv.equalsIgnoreCase(custCode))) if(!(custCodeInv.equalsIgnoreCase(custCode)))
{ {
errCode = "VTCUSTNEI"; //Customer code not match in invoice; errCode = "VTCUSTNEI"; //Customer code bill not match in invoice;
errList.add( errCode ); errList.add( errCode );
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
} }
...@@ -1769,6 +1769,7 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca ...@@ -1769,6 +1769,7 @@ public class ProofOfDelivery extends ValidatorEJB implements ProofOfDeliveryLoca
} }
protected String getColumnDescr(Connection conn, String columnName ,String tableName, String columnName2, String value) protected String getColumnDescr(Connection conn, String columnName ,String tableName, String columnName2, String value)
{ {
......
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