modules/org.openbravo.client.querylist/src-db/database/sourcedata/OBSERDS_DATASOURCE.xml
author Augusto Mauch <augusto.mauch@openbravo.com>
Tue, 16 Apr 2013 17:55:38 +0200
changeset 20375 38700d536693
parent 9091 c4f1a5c7d7c2
child 25004 d06465772e2b
permissions -rw-r--r--
[DS Based Tables] Added flag to tell a datasource is used as table data origin

A new boolean column has been added to the OBSERDS_DATASOURCE table. This flag indicates whether this datasource is used as a data origin in the definition of a Table. Only datasources with this flag checked will be shown in the new Datasource selector used in the Datasource column of the Table table.

If a datasource has this new flaw checked, the subtab Datasource Fields will not be shown. This tab is hidden to avoid confusion, because the columns returned by the datasource that is used as a data origin are defined in the Columns tab of the Tables and Columns window.
harpreet@9091
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9091
     2
<data>
harpreet@9091
     3
<!--DD17275427E94026AD721067C3C91C18--><OBSERDS_DATASOURCE>
harpreet@9091
     4
<!--DD17275427E94026AD721067C3C91C18-->  <OBSERDS_DATASOURCE_ID><![CDATA[DD17275427E94026AD721067C3C91C18]]></OBSERDS_DATASOURCE_ID>
harpreet@9091
     5
<!--DD17275427E94026AD721067C3C91C18-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--DD17275427E94026AD721067C3C91C18-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--DD17275427E94026AD721067C3C91C18-->  <AD_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_MODULE_ID>
harpreet@9091
     8
<!--DD17275427E94026AD721067C3C91C18-->  <NAME><![CDATA[QueryListWidgetDataSource]]></NAME>
harpreet@9091
     9
<!--DD17275427E94026AD721067C3C91C18-->  <DESCRIPTION><![CDATA[The datasource for the query widget]]></DESCRIPTION>
harpreet@9091
    10
<!--DD17275427E94026AD721067C3C91C18-->  <CLASSNAME><![CDATA[org.openbravo.client.querylist.QueryListDataSource]]></CLASSNAME>
harpreet@9091
    11
<!--DD17275427E94026AD721067C3C91C18-->  <OBCLKER_TEMPLATE_ID><![CDATA[2BAD445C2A0343C58E455F9BD379C690]]></OBCLKER_TEMPLATE_ID>
harpreet@9091
    12
<!--DD17275427E94026AD721067C3C91C18-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
augusto@20375
    13
<!--DD17275427E94026AD721067C3C91C18-->  <USEASTABLEDATAORIGIN><![CDATA[N]]></USEASTABLEDATAORIGIN>
harpreet@9091
    14
<!--DD17275427E94026AD721067C3C91C18--></OBSERDS_DATASOURCE>
harpreet@9091
    15
harpreet@9091
    16
</data>