IDEMPIERE-1647 2Pack: ReportViewerHandler export print format that belongs to tenant.

This commit is contained in:
Heng Sin Low 2013-12-27 17:04:04 +08:00
parent c8a09448b9
commit 564863bdcc
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ public class ReportViewElementHandler extends AbstractElementHandler {
document.endElement("", "", X_AD_ReportView.Table_Name); document.endElement("", "", X_AD_ReportView.Table_Name);
} }
sql = "SELECT AD_PrintFormat_ID FROM AD_PrintFormat WHERE AD_ReportView_ID= " sql = "SELECT AD_PrintFormat_ID FROM AD_PrintFormat WHERE AD_ReportView_ID="
+ AD_ReportView_ID; + AD_ReportView_ID + " AND AD_Client_ID=" + Env.getAD_Client_ID(ctx.ctx);
pstmt = null; pstmt = null;
rs = null; rs = null;
try { try {