src-db/database/model/views/C_CASH_DETAIL.xml
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
--- a/src-db/database/model/views/C_CASH_DETAIL.xml	Thu Jan 24 13:16:12 2013 +0100
+++ b/src-db/database/model/views/C_CASH_DETAIL.xml	Mon Feb 04 09:27:53 2013 +0100
@@ -1,6 +1,4 @@
 <?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>
+    <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>