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 ...@@ -178,17 +178,14 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
if(errCode.length() == 0) if(errCode.length() == 0)
{ {
System.out.println("------------11111111111111111");
if(li_level.length() > 0 && !ls_login_emp.equalsIgnoreCase(ls_emp_code__iapr)) 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); errCode = roleUser(ls_sitecode, ls_itemcode, userId, "IND", ls_runopt, conn);
} }
} }
if(errCode.length() == 0) if(errCode.length() == 0)
{ {
System.out.println("------------33333333333333333333333");
errCode = approveIndent(tranId, "1", userId, xtraParams, conn); errCode = approveIndent(tranId, "1", userId, xtraParams, conn);
} }
...@@ -196,6 +193,13 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind ...@@ -196,6 +193,13 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
{ {
isError = true; isError = true;
} }
else if(errCode.length() == 0)
{
isError = false;
errCode = "CONFSUCESS";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
}
int errListSize = errList.size(); int errListSize = errList.size();
cnt = 0; cnt = 0;
......
...@@ -333,9 +333,7 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca ...@@ -333,9 +333,7 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
cnt = 1; cnt = 1;
ll_start = ll_start + 1; ll_start = ll_start + 1;
ls_str = ls_ind_seq.substring(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) //ls_str = mid(ls_ind_seq,ll_start,1)
} }
...@@ -451,6 +449,13 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca ...@@ -451,6 +449,13 @@ public class IndentReqConf extends ActionHandlerEJB implements IndentReqConfLoca
{ {
isError = true; isError = true;
} }
else if(errCode.length() == 0)
{
isError = false;
errCode = "CONFSUCESS";
errList.add( errCode );
errFields.add(childNodeName.toLowerCase());
}
String ediOption = ""; String ediOption = "";
String dataStr = ""; 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