[ adempiere-Bugs-2839336 ] Report Sales Invoices not working when Client use SAAS
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2839336&group_id=176962
This commit is contained in:
parent
b569e4e9d1
commit
96df0ce7df
|
@ -170,7 +170,7 @@ public class ProcessParameter extends CDialog
|
||||||
String ASPFilter = "";
|
String ASPFilter = "";
|
||||||
if (client.isUseASP())
|
if (client.isUseASP())
|
||||||
ASPFilter =
|
ASPFilter =
|
||||||
" AND ( AD_Process_Para_ID IN ( "
|
" AND ( p.AD_Process_Para_ID IN ( "
|
||||||
// Just ASP subscribed process parameters for client "
|
// Just ASP subscribed process parameters for client "
|
||||||
+ " SELECT pp.AD_Process_Para_ID "
|
+ " SELECT pp.AD_Process_Para_ID "
|
||||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||||
|
@ -183,7 +183,7 @@ public class ProcessParameter extends CDialog
|
||||||
+ " AND l.IsActive = 'Y' "
|
+ " AND l.IsActive = 'Y' "
|
||||||
+ " AND cl.IsActive = 'Y' "
|
+ " AND cl.IsActive = 'Y' "
|
||||||
+ " AND pp.ASP_Status = 'S') " // Show
|
+ " AND pp.ASP_Status = 'S') " // Show
|
||||||
+ " OR AD_Process_Para_ID IN ( "
|
+ " OR p.AD_Process_Para_ID IN ( "
|
||||||
// + show ASP exceptions for client
|
// + show ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
@ -194,7 +194,7 @@ public class ProcessParameter extends CDialog
|
||||||
+ " AND ce.AD_Field_ID IS NULL "
|
+ " AND ce.AD_Field_ID IS NULL "
|
||||||
+ " AND ce.ASP_Status = 'S') " // Show
|
+ " AND ce.ASP_Status = 'S') " // Show
|
||||||
+ " ) "
|
+ " ) "
|
||||||
+ " AND AD_Process_Para_ID NOT IN ( "
|
+ " AND p.AD_Process_Para_ID NOT IN ( "
|
||||||
// minus hide ASP exceptions for client
|
// minus hide ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
|
|
@ -150,7 +150,7 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
String ASPFilter = "";
|
String ASPFilter = "";
|
||||||
if (client.isUseASP())
|
if (client.isUseASP())
|
||||||
ASPFilter =
|
ASPFilter =
|
||||||
" AND ( AD_Process_Para_ID IN ( "
|
" AND ( p.AD_Process_Para_ID IN ( "
|
||||||
// Just ASP subscribed process parameters for client "
|
// Just ASP subscribed process parameters for client "
|
||||||
+ " SELECT pp.AD_Process_Para_ID "
|
+ " SELECT pp.AD_Process_Para_ID "
|
||||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||||
|
@ -163,7 +163,7 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
+ " AND l.IsActive = 'Y' "
|
+ " AND l.IsActive = 'Y' "
|
||||||
+ " AND cl.IsActive = 'Y' "
|
+ " AND cl.IsActive = 'Y' "
|
||||||
+ " AND pp.ASP_Status = 'S') " // Show
|
+ " AND pp.ASP_Status = 'S') " // Show
|
||||||
+ " OR AD_Process_Para_ID IN ( "
|
+ " OR p.AD_Process_Para_ID IN ( "
|
||||||
// + show ASP exceptions for client
|
// + show ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
@ -174,7 +174,7 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
||||||
+ " AND ce.AD_Field_ID IS NULL "
|
+ " AND ce.AD_Field_ID IS NULL "
|
||||||
+ " AND ce.ASP_Status = 'S') " // Show
|
+ " AND ce.ASP_Status = 'S') " // Show
|
||||||
+ " ) "
|
+ " ) "
|
||||||
+ " AND AD_Process_Para_ID NOT IN ( "
|
+ " AND p.AD_Process_Para_ID NOT IN ( "
|
||||||
// minus hide ASP exceptions for client
|
// minus hide ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
|
|
@ -147,7 +147,7 @@ implements ValueChangeListener, IProcessParameter
|
||||||
String ASPFilter = "";
|
String ASPFilter = "";
|
||||||
if (client.isUseASP())
|
if (client.isUseASP())
|
||||||
ASPFilter =
|
ASPFilter =
|
||||||
" AND ( AD_Process_Para_ID IN ( "
|
" AND ( p.AD_Process_Para_ID IN ( "
|
||||||
// Just ASP subscribed process parameters for client "
|
// Just ASP subscribed process parameters for client "
|
||||||
+ " SELECT pp.AD_Process_Para_ID "
|
+ " SELECT pp.AD_Process_Para_ID "
|
||||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||||
|
@ -160,7 +160,7 @@ implements ValueChangeListener, IProcessParameter
|
||||||
+ " AND l.IsActive = 'Y' "
|
+ " AND l.IsActive = 'Y' "
|
||||||
+ " AND cl.IsActive = 'Y' "
|
+ " AND cl.IsActive = 'Y' "
|
||||||
+ " AND pp.ASP_Status = 'S') " // Show
|
+ " AND pp.ASP_Status = 'S') " // Show
|
||||||
+ " OR AD_Process_Para_ID IN ( "
|
+ " OR p.AD_Process_Para_ID IN ( "
|
||||||
// + show ASP exceptions for client
|
// + show ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
@ -171,7 +171,7 @@ implements ValueChangeListener, IProcessParameter
|
||||||
+ " AND ce.AD_Field_ID IS NULL "
|
+ " AND ce.AD_Field_ID IS NULL "
|
||||||
+ " AND ce.ASP_Status = 'S') " // Show
|
+ " AND ce.ASP_Status = 'S') " // Show
|
||||||
+ " ) "
|
+ " ) "
|
||||||
+ " AND AD_Process_Para_ID NOT IN ( "
|
+ " AND p.AD_Process_Para_ID NOT IN ( "
|
||||||
// minus hide ASP exceptions for client
|
// minus hide ASP exceptions for client
|
||||||
+ " SELECT AD_Process_Para_ID "
|
+ " SELECT AD_Process_Para_ID "
|
||||||
+ " FROM ASP_ClientException ce "
|
+ " FROM ASP_ClientException ce "
|
||||||
|
|
Loading…
Reference in New Issue