Fixes bug 9038: Promissory Note print does not print in main.
authorAreef Basha <areef.basha@openbravo.com>
Mon, 22 Jun 2009 16:14:42 -0400
changeset 4051 fabc8fbe0b1b
parent 4050 18bbfdbf067f
child 4052 29bd1ca5d046
Fixes bug 9038: Promissory Note print does not print in main.
Now the textual replacement has been made correctly in sql query parameter.
src/org/openbravo/erpReports/RptPromissoryNoteAfter_data.xsql
--- a/src/org/openbravo/erpReports/RptPromissoryNoteAfter_data.xsql	Mon Jun 22 12:21:08 2009 +0200
+++ b/src/org/openbravo/erpReports/RptPromissoryNoteAfter_data.xsql	Mon Jun 22 16:14:42 2009 -0400
@@ -58,7 +58,7 @@
         SELECT C_BANKACCOUNT_ID AS BANK FROM C_DEBT_PAYMENT WHERE C_DEBT_PAYMENT.C_DEBT_PAYMENT_ID IN ('1')
         ]]>
         </Sql>
-        <Parameter name="cDebtPaymenntId" type="replace" optional="true" after="WHERE C_DEBT_PAYMENT.C_DEBT_PAYMENT_ID IN (" text="'1'"/>
+        <Parameter name="cDebtPaymenntId" type="replace" optional="true" after="WHERE C_DEBT_PAYMENT.C_DEBT_PAYMENT_ID IN ('" text="1"/>
    </SqlMethod>
 
    <SqlMethod name="selectPromissoryformat" type="preparedStatement" return="string">