src-db/database/model/views/M_TRANSACTION_V.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Wed, 14 Apr 2010 11:56:39 +0200
changeset 7031 2aac4501bbd5
parent 7022 825f121b6164
child 9910 6767429386d8
permissions -rw-r--r--
Related to issue 12786. Slightly modified views so that they don't change in Oracle too.
<?xml version="1.0"?>
  <database name="VIEW M_TRANSACTION_V">
    <view name="M_TRANSACTION_V"><![CDATA[SELECT t.ad_client_id, t.ad_org_id, t.movementdate, t.movementqty, t.m_product_id, t.m_locator_id, p.m_product_category_id, p.value, po.c_bpartner_id, po.pricepo, po.pricelastpo, po.pricelist
FROM m_transaction t, m_product p, m_product_po po
WHERE t.m_product_id = p.m_product_id AND t.m_product_id = po.m_product_id AND po.iscurrentvendor = 'Y']]></view>
  </database>