From e002ddd169a1b5660c9e9f836c0fed9c703d07e1 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 11 Dec 2007 05:17:35 +0000 Subject: [PATCH] Revert revision 3806 causing problem described here https://sourceforge.net/forum/forum.php?thread_id=1889904&forum_id=610546 --- base/src/org/compiere/print/ReportEngine.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/base/src/org/compiere/print/ReportEngine.java b/base/src/org/compiere/print/ReportEngine.java index 1b1785420b..a9cc426b0d 100644 --- a/base/src/org/compiere/print/ReportEngine.java +++ b/base/src/org/compiere/print/ReportEngine.java @@ -931,19 +931,6 @@ queued-job-count = 0 (class javax.print.attribute.standard.QueuedJobCount) return null; } } - - - if(IsForm) - { - int AD_Column_ID = DB.getSQLValue(null, "SELECT AD_Column_ID WHERE M_Table_ID="+AD_Table_ID+" AND IsKey='Y'"); - if(AD_Column_ID!= 0) - { - MColumn key = MColumn.get(ctx, AD_Column_ID); - TableName = key.getName().substring(0,key.getName().indexOf("_ID")); - AD_Table_ID = MTable.getTable_ID(TableName); - - } - } // Create Query from Parameters MQuery query = null;