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
Connection conn = null;
ITMDBAccessEJB itmDBAccessEJB = null;
boolean isLocalConn = false;
int ll_cnt = 0, cnt = 0, lineNoDet = 0;
int ll_cnt = 0, cnt = 0, lineNoDet = 0,count=0;
SimpleDateFormat sdf = null;
try {
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
......@@ -224,8 +224,12 @@ public class ConsumeIssueConf extends ActionHandlerEJB implements ConsumeIssueCo
orderTypes = distCommon.getDisparams("999999", "GP_NO", conn);// gf_getenv_dis('999999', 'GP_NO')
String ordertypesArr[] = orderTypes.split(",");
ArrayList<String> ordertypesArrList = new ArrayList<String>(Arrays.asList(ordertypesArr));
if (!ordertypesArrList.contains(orderType)) {
for(String ordertp:ordertypesArr)
{
if(ordertp.equalsIgnoreCase(orderType))
count++;
}
if (count==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