src-db/database/model/views/M_TRANSACTION_V.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
<?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>