Commit 1a0c8d2d authored by kmandhre's avatar kmandhre

check detail amount for gl_Trace


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94404 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3a3d4f4b
......@@ -1608,6 +1608,7 @@ public class MiscDrCrRcpConf extends ActionHandlerEJB implements MiscDrCrRcpConf
sundryBalMap = new HashMap();
drcrFlag = (String)miscRcpMap.get("drcr_flag");
amount =Double.parseDouble(miscRcpMap.get("amount").toString());
//System.out.println("HDR amount=="+amount);
//above row
// sql = "select count(*) from misc_drcr_rcp where tran_id = ? ";
// pstmt = conn.prepareStatement(sql);
......@@ -1917,14 +1918,17 @@ public class MiscDrCrRcpConf extends ActionHandlerEJB implements MiscDrCrRcpConf
cctrCode = (String)miscRdetListMap.get("cctr_code");
//for testing
System.out.println("<!@#>cctrCode:" +cctrCode + ":");
// if(cctrCode == null || cctrCode.trim().length()==0)
// {
// cctrCode="A101";
// }
// if(cctrCode == null || cctrCode.trim().length()==0)
// {
// cctrCode="A101";
// }
empCode = (String)miscRdetListMap.get("emp_code");
analCode = (String)miscRdetListMap.get("anal_code");
// amount = Double.parseDouble(miscRdetListMap.get("amount").toString());
// amount = Double.parseDouble(miscRdetListMap.get("amount").toString());
amount = (Double)miscRdetListMap.get("amount");
System.out.println("Det amount=="+amount);
if(amount > 0) //added by kunal on 21/mar/14
{
anal1 = (String)miscRdetListMap.get("analysis1");
anal2 = (String)miscRdetListMap.get("analysis2");
anal3 = (String)miscRdetListMap.get("analysis3");
......@@ -1983,6 +1987,7 @@ public class MiscDrCrRcpConf extends ActionHandlerEJB implements MiscDrCrRcpConf
{
return errString;
}
}
}//end of for
}//end of try
catch (Exception e)
......
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