Replace QuatationAmedmentIC.java

parent 392b808b
......@@ -29,7 +29,8 @@ public class QuatationAmedmentIC extends ValidatorEJB{
long ls_line_no1=0l;
double exchRate= 1.0;
Timestamp quoDate=null;
double lineNo1=0.0 , quantity=0.0 , rate=0.0 , quantityOld=0.0, amendmentCount=1.0;
double lineNo1=0.0 , quantity=0.0 , rate=0.0 , quantityOld=0.0;
int amendmentCount=0;
String ll_line_no="", quotNo="";
String itemCode = "";
String itemName = "";
......@@ -57,7 +58,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
case "quot_no":
{
QuotNo = whenNull(getItemString(dom, 1, "quot_no"));
sql="select hosp_code , hosp_name , cust_code , cust_name , curr_code , add_date , exch_rate , site_code from sales_quot where quot_no = ?";
sql="select hosp_code , hosp_name , cust_code , cust_name ,curr_code , add_date , exch_rate , site_code from sales_quot where quot_no = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, QuotNo);
rs = pstmt.executeQuery();
......
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