Commit fd7b1d54 authored by steurwadkar's avatar steurwadkar

Changes made to handle set time stamp for eff from and valid upto in calculation method

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@176708 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 42190913
...@@ -337,7 +337,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE ...@@ -337,7 +337,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE
temp.add(eachPlist); temp.add(eachPlist);
System.out.println("parent key found"+temp); System.out.println("parent key found"+temp);
plistMst.replace(plistParent,temp); plistMst.put(plistParent,temp);
} }
else else
{ {
...@@ -468,7 +468,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE ...@@ -468,7 +468,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE
{ {
HashMap<String,ArrayList<HashMap<String, String>>> plistmstrate; HashMap<String,ArrayList<HashMap<String, String>>> plistmstrate;
List<String> itemCodeList = new ArrayList<String>(); List<String> itemCodeList = new ArrayList<String>();
LinkedHashMap<String, ArrayList<HashMap<String,String>>> plistWiseHMap = new LinkedHashMap<>(); LinkedHashMap<String, ArrayList<HashMap<String,String>>> plistWiseHMap = new LinkedHashMap<String, ArrayList<HashMap<String, String>>>();
System.out.println(" -------- Inside itemchange case 33333 ------------ "); System.out.println(" -------- Inside itemchange case 33333 ------------ ");
if( currentColumn.trim().equalsIgnoreCase( "itm_default" )) if( currentColumn.trim().equalsIgnoreCase( "itm_default" ))
...@@ -504,7 +504,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE ...@@ -504,7 +504,7 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE
} }
else else
{ {
ArrayList<HashMap<String, String>> tempList1 = new ArrayList<>(); ArrayList<HashMap<String, String>> tempList1 = new ArrayList<HashMap<String, String>>();
tempList1.add(tempHMap); tempList1.add(tempHMap);
plistWiseHMap.put(priceListKey, tempList1); plistWiseHMap.put(priceListKey, tempList1);
} }
......
...@@ -51,7 +51,7 @@ public class PricelistGenWizPos extends ValidatorEJB implements PricelistGenWizP ...@@ -51,7 +51,7 @@ public class PricelistGenWizPos extends ValidatorEJB implements PricelistGenWizP
String retString = ""; String retString = "";
String nodeName = "", productCode = "", effFrom = "", validUpto = "", mstPricelist = "", priceListTar = "", priceListParent = "", calcMethod = "", String nodeName = "", productCode = "", effFrom = "", validUpto = "", mstPricelist = "", priceListTar = "", priceListParent = "", calcMethod = "",
freeQty = "", freeOnQty = "", discPerc = "", listType = "", loginUser = ""; freeQty = "", freeOnQty = "", discPerc = "", listType = "", loginUser = "";
ArrayList<HashMap<String, String>> inserPlist = new ArrayList<>(); ArrayList<HashMap<String, String>> inserPlist = new ArrayList<HashMap<String, String>>();
boolean isError = false; boolean isError = false;
DistCommon distCommon = new DistCommon(); DistCommon distCommon = new DistCommon();
ITMDBAccessEJB ITMDBAccessEJB=new ITMDBAccessEJB(); ITMDBAccessEJB ITMDBAccessEJB=new ITMDBAccessEJB();
...@@ -171,7 +171,7 @@ public class PricelistGenWizPos extends ValidatorEJB implements PricelistGenWizP ...@@ -171,7 +171,7 @@ public class PricelistGenWizPos extends ValidatorEJB implements PricelistGenWizP
} }
} }
HashMap<String,String> eachPlist=new HashMap<>(); HashMap<String,String> eachPlist=new HashMap<String, String>();
eachPlist.put("price_list_mrp", mstPricelist); eachPlist.put("price_list_mrp", mstPricelist);
eachPlist.put("price_list_tar", priceListTar); eachPlist.put("price_list_tar", priceListTar);
......
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