Commit a27eb575 authored by ssalve's avatar ssalve

Removed validation for name , state, city and pin on 20JUL2017


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106336 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ad77d6bf
...@@ -349,53 +349,21 @@ public class GstrIC extends ValidatorEJB implements GstrICRemote, GstrICLocal ...@@ -349,53 +349,21 @@ public class GstrIC extends ValidatorEJB implements GstrICRemote, GstrICLocal
} }
} }
// *************************** Validation for tax_reg_no [end] *************************************** // *************************** Validation for tax_reg_no [end] ***************************************
// Removed validation for name , state, city and pin by sarita on 20-07-2017
// *************************** Validation for name [start] ******************************************* // *************************** Validation for name [start] *******************************************
if(tax_reg_no != null && tax_reg_no.trim().length() > 0)
{
if(name == null || name.trim().length() == 0)
{
errCode = "VMCNAMENLL";
errList.add(errCode);
errFields.add("name");
}
}
// *************************** Validation for name [end] ********************************************* // *************************** Validation for name [end] *********************************************
// *************************** Validation for city [start] ******************************************* // *************************** Validation for city [start] *******************************************
if(tax_reg_no != null && tax_reg_no.trim().length() > 0)
{
if(city == null || city.trim().length() == 0)
{
errCode = "VTTCITYCD";
errList.add(errCode);
errFields.add("city");
}
}
// *************************** Validation for city [end] ********************************************* // *************************** Validation for city [end] *********************************************
// *************************** Validation for state [start] ****************************************** // *************************** Validation for state [start] ******************************************
if(tax_reg_no != null && tax_reg_no.trim().length() > 0)
{
if(state == null || state.trim().length() == 0)
{
errCode = "INVSTATE";
errList.add(errCode);
errFields.add("state");
}
}
// **************************** Validation for state [end] ******************************************* // **************************** Validation for state [end] *******************************************
// **************************** Validation for pin [start] ******************************************* // **************************** Validation for pin [start] *******************************************
if(tax_reg_no != null && tax_reg_no.trim().length() > 0)
{
if(pin == null || pin.trim().length() == 0)
{
errCode = "SFPIN";
errList.add(errCode);
errFields.add("pin");
}
}
// **************************** Validation for pin [end] ********************************************* // **************************** Validation for pin [end] *********************************************
// **************************** Validation for Place of Supply [start] ****************************** // **************************** Validation for Place of Supply [start] ******************************
......
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