Commit 19967470 authored by dpawar's avatar dpawar

delete arraylist


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94029 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 511516cb
...@@ -59,6 +59,7 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli ...@@ -59,6 +59,7 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
private String confirmPOD(String tranId,String xtraParams,String forcedFlag) private String confirmPOD(String tranId,String xtraParams,String forcedFlag)
{ {
System.out.println("---------Class : ProofOfDeliveryConf-->> confirm method called-----------"); System.out.println("---------Class : ProofOfDeliveryConf-->> confirm method called-----------");
isError=false;
tranId=tranId==null ? "" :tranId.trim(); tranId=tranId==null ? "" :tranId.trim();
ResultSet rs=null; ResultSet rs=null;
Connection conn=null; Connection conn=null;
...@@ -123,8 +124,6 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli ...@@ -123,8 +124,6 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
double ExchRate=0.0,actualDBamount=0.0,rateInv=0,qtyInv=0,detail3Amt=0,detail3AmtT=0; double ExchRate=0.0,actualDBamount=0.0,rateInv=0,qtyInv=0,detail3Amt=0,detail3AmtT=0;
loginCode=GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode"); loginCode=GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
System.out.println("Login Code ------->> "+loginCode); System.out.println("Login Code ------->> "+loginCode);
ArrayList invRateList=new ArrayList();
sql=""; sql="";
sql="select invoice_id,cust_code,site_code,curr_code,exch_rate from spl_sales_por_hdr where tran_id = ?"; sql="select invoice_id,cust_code,site_code,curr_code,exch_rate from spl_sales_por_hdr where tran_id = ?";
...@@ -173,7 +172,7 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli ...@@ -173,7 +172,7 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
lotNo=lotNo==null ? "" :lotNo.trim(); lotNo=lotNo==null ? "" :lotNo.trim();
lotSl=lotSl==null ? "" :lotSl.trim(); lotSl=lotSl==null ? "" :lotSl.trim();
invRateList.add(0, rateInv);
//debitNoteAmtDetail=getDebitNoteAmount(conn, tranId, lineNo,aprvRate,PODrate,PODqty); //debitNoteAmtDetail=getDebitNoteAmount(conn, tranId, lineNo,aprvRate,PODrate,PODqty);
debitNoteAmtDetail=getDebitNoteAmount(rateInv,qtyInv); debitNoteAmtDetail=getDebitNoteAmount(rateInv,qtyInv);
debitNoteAmtHdr=debitNoteAmtHdr+debitNoteAmtDetail; debitNoteAmtHdr=debitNoteAmtHdr+debitNoteAmtDetail;
......
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