Commit 71c4c444 authored by SABURI PATEKAR's avatar SABURI PATEKAR

The location description is not being set on the Sales Quotation

Amendment screen.
parent 869ca8e8
......@@ -1172,7 +1172,7 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
{
String quotType="",inqSource="",empCodeConf1="",status1="",enqNo="",sampleRef="",termTable="";
String stockistCodeDlv="",dlvLocation="",priceList1="",itemSer1="",parentQuotNo="";
String custName="", opprId ="", origQuotRed="";
String custName="", opprId ="", origQuotRed="", locationDescr="";
String taxClassHdr="",taxChapHdr="",taxEnvHdr="",siteCode1="";
Timestamp quotDateTs=null,inqDateTs=null,validUptoTs=null,statusDateTs=null;
double freight1=0,exchRate1=0,vat1=0,quotationCost1=0;
......@@ -1186,7 +1186,7 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
sql = " select quot_date, quot_type, cust_code, inq_date, inq_source, valid_upto, " +
" emp_code__conf, status_date, curr_code, exch_rate, cont_pers, sales_pers, " +
" enq_no, sample_ref, freight, cr_term, dlv_term, term_table, " +
" stockist_code__dlv, dlv_location, site_code, price_list, supply_leadtime, item_ser, " +
" stockist_code__dlv, dlv_location, location_descr, site_code, price_list, supply_leadtime, item_ser, " +
" tax_class, tax_chap, tax_env, parent_quot_no, prnp_quot, vat, quotation_cost ," +
" oppr_id, orig_quot_ref " +
" from SALES_QUOT where quot_no = ? ";
......@@ -1216,6 +1216,7 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
termTable = checkNull(rs.getString("term_table"));
stockistCodeDlv = checkNull(rs.getString("stockist_code__dlv"));
dlvLocation = checkNull(rs.getString("dlv_location"));
locationDescr = checkNull(rs.getString("location_descr"));
siteCode1 = checkNull(rs.getString("site_code"));
priceList1 = checkNull(rs.getString("price_list"));
supplyLeadtime1 = rs.getInt("supply_leadtime");
......@@ -1336,6 +1337,7 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
valueXmlString.append("<oppr_id>").append("<![CDATA["+opprId+"]]>").append("</oppr_id>");
valueXmlString.append("<orig_quot_ref>").append("<![CDATA["+origQuotRed+"]]>").append("</orig_quot_ref>");
valueXmlString.append("<confirmed>").append("<![CDATA[N]]>").append("</confirmed>");
valueXmlString.append("<location_descr>").append("<![CDATA["+locationDescr+"]]>").append("</location_descr>");
}
else
{
......@@ -1379,6 +1381,7 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
valueXmlString.append("<quotation_cost><![CDATA[]]></quotation_cost>");
valueXmlString.append("<oppr_id><![CDATA[]]></oppr_id>");
valueXmlString.append("<orig_quot_ref><![CDATA[]]></orig_quot_ref>");
valueXmlString.append("<location_descr><![CDATA[]]></location_descr>");
valueXmlString.append("<confirmed><![CDATA[N]]></confirmed>");
}
}
......@@ -2214,4 +2217,4 @@ public class SalesQuotationAmdIC extends ValidatorEJB implements ValidatorLocal,
}
}
}
\ No newline at end of file
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