Commit 053f215d authored by ngadkari's avatar ngadkari

Migration Of Consumption Issue Confirm and Accounting effects for taxes not...

Migration Of Consumption Issue Confirm and Accounting effects for taxes not taking place on confirmation of consumption Issue.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@186453 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 26697438
...@@ -76,7 +76,7 @@ public class ConsumeIssueConf extends ActionHandlerEJB implements ConsumeIssueCo ...@@ -76,7 +76,7 @@ public class ConsumeIssueConf extends ActionHandlerEJB implements ConsumeIssueCo
Connection conn = null; Connection conn = null;
ITMDBAccessEJB itmDBAccessEJB = null; ITMDBAccessEJB itmDBAccessEJB = null;
boolean isLocalConn = false; boolean isLocalConn = false;
int ll_cnt = 0, cnt = 0, lineNoDet = 0; int ll_cnt = 0, cnt = 0, lineNoDet = 0,count=0;
SimpleDateFormat sdf = null; SimpleDateFormat sdf = null;
try { try {
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
...@@ -224,8 +224,12 @@ public class ConsumeIssueConf extends ActionHandlerEJB implements ConsumeIssueCo ...@@ -224,8 +224,12 @@ public class ConsumeIssueConf extends ActionHandlerEJB implements ConsumeIssueCo
orderTypes = distCommon.getDisparams("999999", "GP_NO", conn);// gf_getenv_dis('999999', 'GP_NO') orderTypes = distCommon.getDisparams("999999", "GP_NO", conn);// gf_getenv_dis('999999', 'GP_NO')
String ordertypesArr[] = orderTypes.split(","); String ordertypesArr[] = orderTypes.split(",");
ArrayList<String> ordertypesArrList = new ArrayList<String>(Arrays.asList(ordertypesArr)); for(String ordertp:ordertypesArr)
if (!ordertypesArrList.contains(orderType)) { {
if(ordertp.equalsIgnoreCase(orderType))
count++;
}
if (count==0) {
if ((gpno == null || gpno.trim().length() < 0) && ll_cnt > 0) { if ((gpno == null || gpno.trim().length() < 0) && ll_cnt > 0) {
......
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