[OBUISEL] Fixed auxiliary input and table reference to include search references.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 31 Jan 2011 16:51:06 +0100
changeset 10265 cde1d8da7761
parent 10264 e99270a5c436
child 10266 7c8a23c0be24
[OBUISEL] Fixed auxiliary input and table reference to include search references.
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_AUXILIARINPUT.xml
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_REF_TABLE.xml
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_AUXILIARINPUT.xml	Mon Jan 31 16:44:52 2011 +0100
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_AUXILIARINPUT.xml	Mon Jan 31 16:51:06 2011 +0100
@@ -12,7 +12,8 @@
           FROM AD_Column
          WHERE AD_Table_ID = @AD_Table_ID@
            AND (AD_Reference_ID = '95E2A8B50A254B2AAE6774B8C2F28120'
-                OR AD_Reference_ID = '80B1630792EA46F298A3FBF81E77EF9C')) total_fields]]></CODE>
+                OR AD_Reference_ID = '80B1630792EA46F298A3FBF81E77EF9C'
+                OR AD_Reference_ID = '30')) total_fields]]></CODE>
 <!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--6AFCF7E4E6334BD591452B5CE42BB17B--></AD_AUXILIARINPUT>
 
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_REF_TABLE.xml	Mon Jan 31 16:44:52 2011 +0100
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_REF_TABLE.xml	Mon Jan 31 16:51:06 2011 +0100
@@ -27,7 +27,8 @@
 select s.obuisel_selector_id
   from ad_column c, obuisel_selector s
  where (c.ad_reference_id = '95E2A8B50A254B2AAE6774B8C2F28120'
-        or c.ad_reference_id = '80B1630792EA46F298A3FBF81E77EF9C')
+        or c.ad_reference_id = '80B1630792EA46F298A3FBF81E77EF9C'
+        or c.ad_reference_id = '30')
    and c.ad_reference_value_id = s.ad_reference_id
    and c.ad_table_id =@AD_Table_ID@)]]></WHERECLAUSE>
 <!--D30C26E6452843B4BA4F8D71A651EB80-->  <ORDERBYCLAUSE><![CDATA[name]]></ORDERBYCLAUSE>