fixed bug 16668: Request Process shows only background processes
authorAsier Lostalé <asier.lostale@openbravo.com>
Tue, 12 Apr 2011 16:31:51 +0200
changeset 11568 5976e82afd0b
parent 11567 d588e908d518
child 11569 ee94070649ad
fixed bug 16668: Request Process shows only background processes
src-db/database/sourcedata/AD_TAB.xml
--- a/src-db/database/sourcedata/AD_TAB.xml	Mon Apr 11 17:00:32 2011 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml	Tue Apr 12 16:31:51 2011 +0200
@@ -13828,6 +13828,7 @@
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--CD573DF1E351485EA2B2DE487DCACA6F-->  <WHERECLAUSE><![CDATA[exists (select 1 from ad_process where isbackground='Y' and ad_process_id = AD_Process_Request.AD_Process_ID)]]></WHERECLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <ORDERBYCLAUSE><![CDATA[AD_Process_Request.Created DESC]]></ORDERBYCLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <PROCESSING><![CDATA[N]]></PROCESSING>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
@@ -13835,6 +13836,7 @@
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <FILTERCLAUSE><![CDATA[AD_Process_Request.Channel = 'Process Scheduler']]></FILTERCLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--CD573DF1E351485EA2B2DE487DCACA6F-->  <HQLWHERECLAUSE><![CDATA[e.process.background = true]]></HQLWHERECLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <HQLORDERBYCLAUSE><![CDATA[-created]]></HQLORDERBYCLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <HQLFILTERCLAUSE><![CDATA[e.channel='Process Scheduler']]></HQLFILTERCLAUSE>
 <!--CD573DF1E351485EA2B2DE487DCACA6F--></AD_TAB>