From cd095c4350da2aea9f3cdd263b29ffe5bff20406 Mon Sep 17 00:00:00 2001 From: armenrz Date: Sun, 11 Feb 2007 05:15:59 +0000 Subject: [PATCH] Bug Fix #1657114 Show active Print Format --- client/src/org/compiere/print/Viewer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/org/compiere/print/Viewer.java b/client/src/org/compiere/print/Viewer.java index 890340c030..9f68ae7994 100644 --- a/client/src/org/compiere/print/Viewer.java +++ b/client/src/org/compiere/print/Viewer.java @@ -300,6 +300,9 @@ public class Viewer extends CFrame "SELECT AD_PrintFormat_ID, Name, Description " + "FROM AD_PrintFormat " + "WHERE AD_Table_ID=? " + //Added Lines by Armen + + "AND IsActive='Y' " + //End of Added Lines + "ORDER BY Name", "AD_PrintFormat", MRole.SQL_NOTQUALIFIED, MRole.SQL_RO); int AD_Table_ID = m_reportEngine.getPrintFormat().getAD_Table_ID();