Commit 9ed1f87c authored by smisra's avatar smisra

changed error message numbers that are already existing in standard DB


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91411 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a3acdda7
......@@ -108,7 +108,7 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
if ( custCode == null || custCode.trim().length() == 0 )
{
System.out.println("Customer Code is null");
errList.add( "CCNUL" );
errList.add( "VECUST2" );
errFields.add( "cust_code" );
}
else // if( edit_flag == "A" || edit_flag.equalsIgnoreCase( "A" ))
......@@ -121,8 +121,8 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
{
if(!rs.getBoolean(1))
{
System.out.println("Wrong Customer code");
errList.add( "CCNE" );
System.out.println("Customer code not exist");
errList.add( "VTMSG" );
errFields.add( "cust_code" );
}
}
......@@ -152,7 +152,7 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
{
if(rs.getBoolean(1))
{
System.out.println("This combination already exist");
System.out.println("Customer code and Order type combination already exist");
errList.add( "CCOTAE" );
errFields.add( "order_type" );
}
......@@ -169,7 +169,7 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
if ( priceList == null || priceList.trim().length() == 0 )
{
System.out.println("priceList is coming as null");
errList.add( "PLNUL1" );
errList.add( "UDPRLTNUL" );
errFields.add( "price_list" );
}
else
......@@ -182,8 +182,8 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
{
if(!rs.getBoolean(1))
{
System.out.println("Wrong Pice List");
errList.add( "PLNE" );
System.out.println("Pice List Not found");
errList.add( "VMPRLIST" );
errFields.add( "price_list" );
}
}
......@@ -199,7 +199,7 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
if ( priceListClg == null || priceListClg.trim().length() == 0 )
{
System.out.println("priceListClg is coming as null");
errList.add( "PLCNUL1" );
errList.add( "UDPRLTNUL" );
errFields.add( "price_list__clg" );
}
else
......@@ -212,8 +212,8 @@ public class CustomerPriceList extends ValidatorEJB implements CustomerPriceList
{
if(!rs.getBoolean(1))
{
System.out.println("Wrong Pice List Clg");
errList.add( "PLCNE" );
System.out.println("Price List not found");
errList.add( "VMPRLIST" );
errFields.add( "price_list__clg" );
}
}
......
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