src-db/database/model/views/AD_TAB_V.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Mon, 04 Feb 2013 09:27:53 +0100
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
permissions -rw-r--r--
Changes required to support PostgreSQL 9.2
<?xml version="1.0"?>
  <database name="VIEW AD_TAB_V">
    <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 FROM ad_tab t JOIN ad_table tbl ON t.ad_table_id = tbl.ad_table_id WHERE t.isactive = 'Y' AND tbl.isactive = 'Y']]></view>
  </database>