Commit 05630f26 authored by mjadhav's avatar mjadhav

changes done for invoice currency in details


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97080 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e98a4f03
......@@ -915,11 +915,11 @@ public class GenInvoiceSchedule implements Schedule {
//System.out.println("paymentMeans : "+paymentMeans);
System.out.println("accToBeCredited : "+accToBeCredited);
System.out.println("currencyCode : "+currCodeHd);
sql = "select iso4217 from currency where curr_code=? " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, currencyCode);
pstmt.setString(1, currCodeHd);
rs = pstmt.executeQuery();
if (rs.next())
{
......@@ -930,7 +930,7 @@ public class GenInvoiceSchedule implements Schedule {
rs = null;
pstmt.close();
pstmt = null;
System.out.println("invoiceISOCode : "+invoiceISOCode);
sql = " select ITEM_CODE,ITEM_DESCR,QUANTITY,UNIT,RATE,DISCOUNT,TAX_AMT,NET_AMT ," +
......@@ -993,7 +993,7 @@ public class GenInvoiceSchedule implements Schedule {
sql = " select TAX_CODE,TAX_CLASS,TAXABLE_AMT ,TAX_CHAP,TAX_ENV,TAX_AMT,EXCH_RATE ,TAX_PERC,EFFECT " +
" from taxtran where tran_id= ?" ;
" from taxtran where tran_id= ? and tran_code='S-INV' and tax_amt <> '0' and tax_perc <>'0' " ;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, invoiceId);
......
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