src-db/database/model/views/C_CASH_DETAIL.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
gorkaion@1785
     1
<?xml version="1.0"?>
gorkaion@1785
     2
  <database name="VIEW C_CASH_DETAIL">
antonio@9910
     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 FROM c_cash c, c_cashline cl, c_cashbook cb WHERE c.c_cash_id = cl.c_cash_id AND c.c_cashbook_id = cb.c_cashbook_id]]></view>
gorkaion@1785
     4
  </database>