Replace QuatationAmedmentIC.java

parent f0e24fff
...@@ -34,7 +34,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -34,7 +34,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
String ll_line_no="", quotNo=""; String ll_line_no="", quotNo="";
String itemCode = ""; String itemCode = "";
String itemName = ""; String itemName = "";
String unit ="" , currCode1="" , Costing ="" , pakSize ="" , termsCondition="" ; String unit ="" , currCode1="" , costing ="" , pakSize ="" , termsCondition="" ;
double quantity1 = 0.0; double quantity1 = 0.0;
double rate1 = 0.0; double rate1 = 0.0;
double newRate =0.0; double newRate =0.0;
...@@ -142,7 +142,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -142,7 +142,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
quantity1 = rs.getDouble("quantity"); quantity1 = rs.getDouble("quantity");
rate = rs.getDouble("rate"); rate = rs.getDouble("rate");
currCode1=rs.getString("curr_code"); currCode1=rs.getString("curr_code");
Costing = rs.getString("costing"); costing = rs.getString("costing");
pakSize = rs.getString("pkg_size"); pakSize = rs.getString("pkg_size");
validUpto=rs.getTimestamp("valid_upto"); validUpto=rs.getTimestamp("valid_upto");
deliveryDate=rs.getTimestamp("delivery_date"); deliveryDate=rs.getTimestamp("delivery_date");
...@@ -156,7 +156,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -156,7 +156,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
setItem(dom, 1, "quantity__o", String.valueOf(quantity1)); setItem(dom, 1, "quantity__o", String.valueOf(quantity1));
setItem(dom, 1, "rate_new__o", rate); setItem(dom, 1, "rate_new__o", rate);
setItem(dom, 1, "curr_code", currCode1); setItem(dom, 1, "curr_code", currCode1);
setItem(dom, 1, "costing", Costing); setItem(dom, 1, "costing", costing);
setItem(dom, 1, "pkg_size", pakSize); setItem(dom, 1, "pkg_size", pakSize);
setItem(dom, 1, "valid_upto", validUpto); setItem(dom, 1, "valid_upto", validUpto);
setItem(dom, 1, "delivery_date", deliveryDate); setItem(dom, 1, "delivery_date", deliveryDate);
...@@ -166,6 +166,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -166,6 +166,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
break; break;
} }
} }
......
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