fixed Print Format to lookup for report in system client.

This commit is contained in:
trifonnt 2008-08-14 07:48:37 +00:00
parent 3e83c905d4
commit 6f8ad73360
2 changed files with 2 additions and 2 deletions

View File

@ -863,7 +863,7 @@ public class MPrintFormat extends X_AD_PrintFormat
* @return AD_PrintFormat_ID * @return AD_PrintFormat_ID
*/ */
public static int getPrintFormat_ID(String formatName, int AD_Table_ID, int AD_Client_ID) { public static int getPrintFormat_ID(String formatName, int AD_Table_ID, int AD_Client_ID) {
final String sql = "SELECT AD_PrintFormat_ID FROM AD_PrintFormat WHERE Name = ? AND AD_Table_ID = ? AND AD_Client_ID = ?"; final String sql = "SELECT AD_PrintFormat_ID FROM AD_PrintFormat WHERE Name = ? AND AD_Table_ID = ? AND AD_Client_ID IN(0, ?)";
return DB.getSQLValue(null, sql, formatName, AD_Table_ID, AD_Client_ID); return DB.getSQLValue(null, sql, formatName, AD_Table_ID, AD_Client_ID);
} }
//end vpj-cd e-evolution //end vpj-cd e-evolution

View File

@ -42,7 +42,7 @@ public class CompletePrintOrder extends SvrProcess
private boolean p_IsPrintPackList = false; private boolean p_IsPrintPackList = false;
private boolean p_IsComplete = false; private boolean p_IsComplete = false;
boolean IsDirectPrint = false; boolean IsDirectPrint = true; // TODO - Trifon we must check(ask Victor) why it is false by default?
/** /**