BF [ 1808596 ] Error when exporting print format with included print format
This commit is contained in:
parent
f6b5458305
commit
0350f494f4
|
@ -13,6 +13,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 Robert Klein. robeklein@hotmail.com
|
* Copyright (C) 2005 Robert Klein. robeklein@hotmail.com
|
||||||
* Contributor(s): Low Heng Sin hengsin@avantz.com
|
* Contributor(s): Low Heng Sin hengsin@avantz.com
|
||||||
|
* Teo Sarca, SC ARHIPAC SERVICE SRL
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.adempiere.pipo.handler;
|
package org.adempiere.pipo.handler;
|
||||||
|
|
||||||
|
@ -198,7 +199,7 @@ public class PrintFormatElementHandler extends AbstractElementHandler {
|
||||||
document.startElement("", "", "printformat", atts);
|
document.startElement("", "", "printformat", atts);
|
||||||
|
|
||||||
String sql2 = "SELECT * FROM AD_PrintFormatItem WHERE AD_PrintFormat_ID= "
|
String sql2 = "SELECT * FROM AD_PrintFormatItem WHERE AD_PrintFormat_ID= "
|
||||||
+ AD_PrintFormat_ID;
|
+ m_Printformat.getAD_PrintFormat_ID();
|
||||||
PreparedStatement pstmt2 = null;
|
PreparedStatement pstmt2 = null;
|
||||||
pstmt2 = DB.prepareStatement(sql2, getTrxName(ctx));
|
pstmt2 = DB.prepareStatement(sql2, getTrxName(ctx));
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue