Commit 68f7ee36 authored by smestry's avatar smestry

Updated the indent req confirm and indent confirm for success message.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104812 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b7007a01
......@@ -178,17 +178,14 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
if(errCode.length() == 0)
{
System.out.println("------------11111111111111111");
if(li_level.length() > 0 && !ls_login_emp.equalsIgnoreCase(ls_emp_code__iapr))
{
System.out.println("------------22222222222222222222222");
errCode = roleUser(ls_sitecode, ls_itemcode, userId, "IND", ls_runopt, conn);
}
}
if(errCode.length() == 0)
{
System.out.println("------------33333333333333333333333");
errCode = approveIndent(tranId, "1", userId, xtraParams, conn);
}
......@@ -196,6 +193,13 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
{
isError = true;
}
else if(errCode.length() == 0)
{
isError = false;
errCode = "CONFSUCESS";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
}
int errListSize = errList.size();
cnt = 0;
......
......@@ -334,8 +334,6 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
ll_start = ll_start + 1;
ls_str = ls_ind_seq.substring(ll_start, 1);
System.out.println("---------- ls_str 11111111111---------------"+ls_str);
//ls_str = mid(ls_ind_seq,ll_start,1)
}
......@@ -451,6 +449,13 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
{
isError = true;
}
else if(errCode.length() == 0)
{
isError = false;
errCode = "CONFSUCESS";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
}
String ediOption = "";
String dataStr = "";
......
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