Commit 1db18862 authored by kgaikwad's avatar kgaikwad

Customer master - stan_code blank should not be allowed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202739 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3784776d
......@@ -538,7 +538,7 @@ implements CustomerLocal, CustomerRemote
}
else if (childNodeName.equalsIgnoreCase("stan_code"))
{
stanCode = checkNull(genericUtility.getColumnValue("stan_code", dom));
stanCode = E12GenericUtility.checkNull(genericUtility.getColumnValue("stan_code", dom));// added by kailas Gaikwad on 28 june 2019
cnt = 0;
if (stanCode != null)
......@@ -556,21 +556,32 @@ implements CustomerLocal, CustomerRemote
pstmt.close();
pstmt = null;
if (cnt == 0)
if (cnt == 0)
{
errCode = "VTSTAN1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
/* Comment By Nasruddin [16-SEP-16] START
else
/* Comment By Nasruddin [16-SEP-16] START*/
/*else
{
//errCode = "VMSTNCDNLL";
errCode = "VTAMDSTCOD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}*/
/*Comment By Nasruddin [16-SEP-16] END*/
else // added by kailas Gaikwad on 28 june 2019
{
errCode = "VMSTNCDNLL";
errCode = "VMSTANCOD";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
Comment By Nasruddin [16-SEP-16] END*/
}
else if (childNodeName.equalsIgnoreCase("terr_code"))
......
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