modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_REF_TABLE.xml
author Gorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 31 Jan 2011 16:51:06 +0100
changeset 10265 cde1d8da7761
parent 9076 c4f1a5c7d7c2
permissions -rw-r--r--
[OBUISEL] Fixed auxiliary input and table reference to include search references.
harpreet@9076
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9076
     2
<data>
harpreet@9076
     3
<!--37BA0878B5494179AB05545C9B9805B7--><AD_REF_TABLE>
harpreet@9076
     4
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_REFERENCE_ID><![CDATA[37BA0878B5494179AB05545C9B9805B7]]></AD_REFERENCE_ID>
harpreet@9076
     5
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9076
     6
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9076
     7
<!--37BA0878B5494179AB05545C9B9805B7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9076
     8
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_TABLE_ID><![CDATA[A2F880F9981349E2A6A57BD58267EBCE]]></AD_TABLE_ID>
harpreet@9076
     9
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_KEY><![CDATA[BD426B492A504790B269B2A56374C2C5]]></AD_KEY>
harpreet@9076
    10
<!--37BA0878B5494179AB05545C9B9805B7-->  <AD_DISPLAY><![CDATA[01645009C7E94EFCAEF1184DFFD85A39]]></AD_DISPLAY>
harpreet@9076
    11
<!--37BA0878B5494179AB05545C9B9805B7-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
harpreet@9076
    12
<!--37BA0878B5494179AB05545C9B9805B7-->  <WHERECLAUSE><![CDATA[OBUISEL_Selector_Id=@OBUISEL_Selector_ID@]]></WHERECLAUSE>
harpreet@9076
    13
<!--37BA0878B5494179AB05545C9B9805B7-->  <ORDERBYCLAUSE><![CDATA[name]]></ORDERBYCLAUSE>
harpreet@9076
    14
<!--37BA0878B5494179AB05545C9B9805B7--></AD_REF_TABLE>
harpreet@9076
    15
harpreet@9076
    16
<!--D30C26E6452843B4BA4F8D71A651EB80--><AD_REF_TABLE>
harpreet@9076
    17
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_REFERENCE_ID><![CDATA[D30C26E6452843B4BA4F8D71A651EB80]]></AD_REFERENCE_ID>
harpreet@9076
    18
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9076
    19
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9076
    20
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9076
    21
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_TABLE_ID><![CDATA[A2F880F9981349E2A6A57BD58267EBCE]]></AD_TABLE_ID>
harpreet@9076
    22
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_KEY><![CDATA[BD426B492A504790B269B2A56374C2C5]]></AD_KEY>
harpreet@9076
    23
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <AD_DISPLAY><![CDATA[01645009C7E94EFCAEF1184DFFD85A39]]></AD_DISPLAY>
harpreet@9076
    24
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
harpreet@9076
    25
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <WHERECLAUSE><![CDATA[isoutfield='Y'
harpreet@9076
    26
AND obuisel_selector_id in (
harpreet@9076
    27
select s.obuisel_selector_id
harpreet@9076
    28
  from ad_column c, obuisel_selector s
harpreet@9076
    29
 where (c.ad_reference_id = '95E2A8B50A254B2AAE6774B8C2F28120'
gorkaion@10265
    30
        or c.ad_reference_id = '80B1630792EA46F298A3FBF81E77EF9C'
gorkaion@10265
    31
        or c.ad_reference_id = '30')
harpreet@9076
    32
   and c.ad_reference_value_id = s.ad_reference_id
harpreet@9076
    33
   and c.ad_table_id =@AD_Table_ID@)]]></WHERECLAUSE>
harpreet@9076
    34
<!--D30C26E6452843B4BA4F8D71A651EB80-->  <ORDERBYCLAUSE><![CDATA[name]]></ORDERBYCLAUSE>
harpreet@9076
    35
<!--D30C26E6452843B4BA4F8D71A651EB80--></AD_REF_TABLE>
harpreet@9076
    36
harpreet@9076
    37
</data>