Commit b175c0c8 authored by wansari's avatar wansari

D16JSUN0002 updated source to get price list and discount from datbase in case of edit mode.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104903 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 73de1d28
...@@ -2156,10 +2156,15 @@ public class ScontractGwtIC extends ValidatorEJB implements ScontractGwtICLocal, ...@@ -2156,10 +2156,15 @@ public class ScontractGwtIC extends ValidatorEJB implements ScontractGwtICLocal,
rateOpt = checkNullAndTrim(rs.getString("RATE_OPT")); rateOpt = checkNullAndTrim(rs.getString("RATE_OPT"));
itemSer = checkNullAndTrim(rs.getString("ITEM_SER")); itemSer = checkNullAndTrim(rs.getString("ITEM_SER"));
HashMap hm = new HashMap();
//Changed by wasim on 08-09-2017 as commented bcoz in edit mode it will be set from database [START]
/*HashMap hm = new HashMap();
hm = getDiscountPer(dom2,"2",itemSer); hm = getDiscountPer(dom2,"2",itemSer);
discount = (String) hm.get("DISCOUNT"); discount = (String) hm.get("DISCOUNT");
priceList = (String) hm.get("PRICE_LIST"); priceList = (String) hm.get("PRICE_LIST");*/
discount = checkNullAndTrim(rs.getString("DISCOUNT"));
priceList = checkNullAndTrim(rs.getString("PRICE_LIST"));
//Changed by wasim on 08-09-2017 as commented bcoz in edit mode it will be set from database [END]
valueXmlString.append("<Detail3 domID='"+lineNo.trim()+"' objContext='3' selected=\"Y\">\r\n"); valueXmlString.append("<Detail3 domID='"+lineNo.trim()+"' objContext='3' selected=\"Y\">\r\n");
......
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