src-db/database/model/views/AD_ORGMODULE_V.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Mon, 04 Feb 2013 09:27:53 +0100
changeset 9910 6767429386d8
parent 9523 5bbe923412b2
child 9911 444911e2b851
permissions -rw-r--r--
Changes required to support PostgreSQL 9.2
eduardo@9474
     1
<?xml version="1.0"?>
eduardo@9474
     2
  <database name="VIEW AD_ORGMODULE_V">
antonio@9910
     3
    <view name="AD_ORGMODULE_V"><![CDATA[SELECT ad_orgmodule.ad_orgmodule_id || ad_dataset.ad_dataset_id AS ad_orgmodule_v_id,  ad_orgmodule.ad_org_id, ad_orgmodule.ad_client_id, ad_orgmodule.created,  ad_orgmodule.isactive, ad_orgmodule.createdby, ad_orgmodule.updated,  ad_orgmodule.updatedby, ad_dataset.ad_module_id, ad_orgmodule.version,  ad_dataset.ad_dataset_id, ad_dataset.description,  CASE WHEN instr(ad_orgmodule.checksum, ad_dataset.checksum) = 0 THEN 'Y' ELSE 'N' END AS update_available FROM ad_orgmodule, ad_dataset WHERE ad_orgmodule.ad_module_id = ad_dataset.ad_module_id]]></view>
eduardo@9474
     4
  </database>