Commit 47e7e4af authored by ngadkari's avatar ngadkari

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195114 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b6eee852
......@@ -1232,7 +1232,8 @@ public class CostCtrAllocPosEJB extends ValidatorEJB implements CostCtrAllocPosE
//Added by sarita on 14 DECEMBER 2018 [START]
private double getHashMapValDiff(HashMap<String,Double> data1 , HashMap<String,Double> data2) throws ITMException
{
double diffAmt = 0.0;
double diffAmt = 0.0;
double totVal = 0.0;
FinCommon finCommon = new FinCommon();
try
......@@ -1244,7 +1245,7 @@ public class CostCtrAllocPosEJB extends ValidatorEJB implements CostCtrAllocPosE
totVal = data1.get(key);System.out.println("Total Value in HashMap 1 is ["+totVal+"]");
}
for (HashMap.Entry<String, Double> map1 : data2.entrySet()) // assuming your map is Map<String, String>
for (Entry<String, Double> map1 : data2.entrySet()) // assuming your map is Map<String, String>
{
if(data1.containsKey(map1.getKey()))
{
......@@ -1260,6 +1261,6 @@ public class CostCtrAllocPosEJB extends ValidatorEJB implements CostCtrAllocPosE
throw new ITMException(e);
}
return diffAmt;
}
}
//Added by sarita on 14 DECEMBER 2018 [END]
}//end of class CostCtrAllocPosEJB
......@@ -2465,11 +2465,11 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis
}
/*
// 28-dec-18 manoharan commented and moved after detail posting
ls_confirm = hdrMap.get("confirmed").toString();
ls_confirm = hdrMap.get("confirmed").toString();*/
String login_emp_code=new E12GenericUtility().getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if(ls_confirm==null || ls_confirm.trim().length()==0 )//prince --18-09-06
/*if(ls_confirm==null || ls_confirm.trim().length()==0 )//prince --18-09-06
{
ls_confirm="Y";
}
......
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