Commit 7c671754 authored by dpawar's avatar dpawar

remove code for cust_ref and cust_ref_date. solved error


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94193 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ebc1b75f
......@@ -319,7 +319,7 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
return invDate;
}
private String genDebitNote(String process,String invoiceId,String custCode,String siteCode ,String xtraParams,String currencyCode,double exchRate,String detail2xmlString,double detail3AmtT, Connection conn) throws ITMException
protected String genDebitNote(String process,String invoiceId,String custCode,String siteCode ,String xtraParams,String currencyCode,double exchRate,String detail2xmlString,double detail3AmtT, Connection conn) throws ITMException
{
System.out.println("<--------Inside genDebitNote----------->");
StringBuffer xmlBuffer = new StringBuffer();
......@@ -347,11 +347,11 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
if(invDate !=null){
invoiceDate=sdf.format(invDate);
}
System.out.println("Process12345------>>["+process+"]");
System.out.println("Process------>>["+process+"]");
if(process.equalsIgnoreCase("PRC"))
remarks="Auto Generated Debit Note - POD Process - invoice ID "+invoiceId;
remarks="Auto Gen. Debit Note-POD Process-Invoice ID - "+invoiceId;
else
remarks="Auto Generated Debit Note - POD - invoice ID - "+invoiceId;
remarks="Auto Generated Debit Note - POD-Invoice ID - "+invoiceId;
itemSer =getColumnDescr(conn, "item_ser","invoice","invoice_id", invoiceId);
finEntity = getColumnDescr(conn, "fin_entity","site","site_code", siteCode);
acctCode = getColumnDescr(conn,"acct_code__ar", "customer", "cust_code", custCode);
......@@ -403,10 +403,10 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
xmlBuffer.append("<cctr_code__tot_ar>").append("<![CDATA[").append(cctrCodetotAR).append("]]></cctr_code__tot_ar>\r\n");
xmlBuffer.append("<reas_code>").append("<![CDATA[").append("PODDB").append("]]></reas_code>\r\n");
xmlBuffer.append("<cust_ref_no>").append("<![CDATA[").append(invoiceId).append("]]></cust_ref_no>\r\n");
xmlBuffer.append("<cust_ref_date>").append("<![CDATA[").append(invoiceDate).append("]]></cust_ref_date>\r\n");
// xmlBuffer.append("<cust_ref_no>").append("<![CDATA[").append(invoiceId).append("]]></cust_ref_no>\r\n");
// xmlBuffer.append("<cust_ref_date>").append("<![CDATA[").append(invoiceDate).append("]]></cust_ref_date>\r\n");
xmlBuffer.append("<remarks>").append("<![CDATA[").append(remarks).append("]]></remarks>\r\n");
xmlBuffer.append("<remarks>").append("<![CDATA[").append(remarks.trim()).append("]]></remarks>\r\n");
xmlBuffer.append("<chg_user/>\r\n");
xmlBuffer.append("<chg_term/>\r\n");
xmlBuffer.append("<chg_date>").append("<![CDATA[").append(currAppdate).append("]]></chg_date>\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