Commit 0f43c64c authored by wansari's avatar wansari

W16IBAS007 updated IndentIC for message code in wfValdata


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105332 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7d6d25e0
......@@ -265,15 +265,21 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
{
cnt = 0;
mval = checkNullAndTrim(genericUtility.getColumnValue("item_code__mfg", dom));
if(mval.length() > 0)
{
cnt = getCount("ITEM", "ITEM_CODE", mval, conn);
if(cnt == 0)
{
errCode = "VMITEM1";
//Changed by wasim on 13-04-2017 for changing error code for item_code__mfg
//errCode = "VMITEM1";
errCode = "VMITEMMFG";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
}
if("item_code".equalsIgnoreCase(childNodeName))
{
System.out.println("----------- Inside item_code -------------- ");
......@@ -566,7 +572,9 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
if(mval.length() == 0)
{
errCode = "VMEMP1";
//Changed by wasim on 13-apr-2017 for changing error code
//errCode = "VMEMP1";
errCode = "VMINDAPRV";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
......@@ -591,7 +599,9 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
if(mval.length() == 0)
{
errCode = "VMEMP2";
//Changed by wasim on 13-apr-2017 for changing error code
//errCode = "VMEMP2";
errCode = "VMINEMPPUR";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
......@@ -1852,7 +1862,9 @@ public class IndentIC extends ValidatorEJB implements IndentICLocal, IndentICRem
}
if(count == 0)
{
errCode = "VMEMP9";
//Changed by wasim on 13-apr-2017 for changing error code
//errCode = "VMEMP9";
errCode = "VMEMP1";
}
else
{
......
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