Commit 4e89f52c authored by dpawar's avatar dpawar

added sundry_code and sundry_type in gltrace map


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96096 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e12f6505
......@@ -334,8 +334,9 @@ public class MiscValConf extends ActionHandlerEJB implements MiscValConfLocal,Mi
mischdrMap.put("mvouch_gen_tran_id",mvouchGenTranId);
mischdrMap.put("tour_id",tourId);
mischdrMap.put("tran_id__gen",tranIdGen);
//changes by Dadaso
//changes by Dadaso on 22-AUG-2014 [START]
mischdrMap.put("hold_amt","0");
//changes by Dadaso on 22-AUG-2014 [END]
//lds_det ---> d_misc_vouchdet_brow
System.out.println("added data map miscdetList.........111");
......@@ -2554,8 +2555,13 @@ public class MiscValConf extends ActionHandlerEJB implements MiscValConfLocal,Mi
{
if(("A".equalsIgnoreCase(vouchType)) &&(advAmt != 0) &&((acctCode.trim().equalsIgnoreCase(acctCodeAdv.trim()))))
{
glTraceMap.put("sundry_type","");
glTraceMap.put("sundry_code","");
//Commented by Dadaso pawar on 27/08/2014 [START]
//If voucher type "A" then in gltrace (account effect) sundry type and code not set)
//glTraceMap.put("sundry_type","");
//glTraceMap.put("sundry_code","");
glTraceMap.put("sundry_type",mischdrMap.get("sundry_type"));
glTraceMap.put("sundry_code",mischdrMap.get("sundry_code"));
//Commented by Dadaso pawar on 27/08/2014 [END]
if (amount > 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