src-db/database/model/views/C_CASH_DETAIL.xml
author Gorka Ion Damián <gorkaion.damian@openbravo.com>
Thu, 09 Oct 2008 12:06:24 +0000
changeset 1785 6fcdedddde3d
child 7022 825f121b6164
permissions -rw-r--r--
Some views have been renamed due to changes in the used prefixes

Modified views are: (old name, new name)

REPORT_PROJECTPROPOSAL C_PROJECTPROPOSAL_V
RV_BPARTNER C_BPARTNER_V
RV_CASH_DETAIL C_CASH_DETAIL
RV_C_INVOICE_CUSTOMERPRODQTR C_INVOICE_CUSTOMERPRODQTR
RV_C_INVOICE_CUSTOMERVENDQTR C_INVOICE_CUSTOMERVENDQTR
RV_C_INVOICE_DAY C_INVOICE_DAY
RV_C_INVOICELINE C_INVOICELINE_V
RV_C_INVOICE_MONTH C_INVOICE_MONTH
RV_C_INVOICE_PRODMONTH C_INVOICE_PRODMONTH
RV_C_INVOICE_PRODWEEK C_INVOICE_PRODWEEK
RV_C_INVOICE_VENDORMONTH C_INVOICE_VENDORMONTH
RV_C_INVOICE_WEEK C_INVOICE_WEEK
RV_C_INVOICE C_INVOICE_V2
RV_M_TRANSACTION_SUM M_TRANSACTION_SUM
RV_M_TRANSACTION M_TRANSACTION_V
RV_ORDER_OPEN C_ORDER_OPEN
<?xml version="1.0"?>
  <database name="VIEW C_CASH_DETAIL">
    <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>
  </database>