fixed Print Format to lookup for report in system client.
This commit is contained in:
parent
3e83c905d4
commit
6f8ad73360
|
@ -863,7 +863,7 @@ public class MPrintFormat extends X_AD_PrintFormat
|
|||
* @return AD_PrintFormat_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);
|
||||
}
|
||||
//end vpj-cd e-evolution
|
||||
|
|
|
@ -42,7 +42,7 @@ public class CompletePrintOrder extends SvrProcess
|
|||
private boolean p_IsPrintPackList = 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?
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue