src-db/database/model/views/AD_TAB_V.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Mon, 05 May 2008 06:59:24 +0000
changeset 799 fef2c5e2feb7
parent 777 6e89ba1fd7d9
child 7022 825f121b6164
permissions -rw-r--r--
Merged cleanup branch (r3931) with trunk
adrian@94
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="VIEW AD_TAB_V">
asier@799
     3
    <view name="AD_TAB_V"><![CDATA[SELECT t.ad_tab_id, t.ad_window_id, t.ad_table_id, t.name, t.description, t.help, t.seqno, t.issinglerow, t.hastree, t.isinfotab, tbl.tablename, tbl.accesslevel, tbl.issecurityenabled, tbl.isdeleteable, tbl.ishighvolume, tbl.isview, to_char('N') AS hasassociation, t.istranslationtab, t.isreadonly, t.ad_image_id, t.tablevel, t.whereclause, t.orderbyclause, t.commitwarning, t.ad_column_id, t.ad_process_id, t.issorttab, t.ad_columnsortorder_id, t.ad_columnsortyesno_id, t.included_tab_id
antonio@777
     4
   FROM ad_tab t
antonio@777
     5
   JOIN ad_table tbl ON t.ad_table_id = tbl.ad_table_id
antonio@777
     6
  WHERE t.isactive = 'Y' AND tbl.isactive = 'Y']]></view>
adrian@94
     7
  </database>