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

@ -137,7 +137,7 @@ public class ReportViewElementHandler extends AbstractElementHandler {
} }
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 {