src-db/database/model/views/C_CASH_DETAIL.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Tue, 13 Apr 2010 19:11:31 +0200
changeset 7022 825f121b6164
parent 1785 6fcdedddde3d
child 7031 2aac4501bbd5
permissions -rw-r--r--
Fixed issue 12786. Views will no longer be changed when exported from PostgreSQL 8.4
gorkaion@1785
     1
<?xml version="1.0"?>
gorkaion@1785
     2
  <database name="VIEW C_CASH_DETAIL">
gorkaion@1785
     3
    <view name="C_CASH_DETAIL"><![CDATA[SELECT cl.c_cash_id, cl.c_cashline_id, c.ad_client_id, c.ad_org_id, cl.isactive, cl.created, cl.createdby, cl.updated, cl.updatedby, c.c_cashbook_id, c.name, c.statementdate, c.dateacct, c.processed, c.posted, cl.line, cl.description, cl.cashtype, cl.c_currency_id, cl.amount, c_currency_convert(cl.amount, cl.c_currency_id, cb.c_currency_id, c.statementdate, NULL, c.ad_client_id, c.ad_org_id) AS convertedamt, cl.c_debt_payment_id, cl.c_charge_id
antonio@7022
     4
FROM c_cash c, c_cashline cl, c_cashbook cb
antonio@7022
     5
WHERE c.c_cash_id = cl.c_cash_id AND c.c_cashbook_id = cb.c_cashbook_id
antonio@7022
     6
]]></view>
gorkaion@1785
     7
  </database>