src-db/database/model/views/M_TRANSACTION_V.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 M_TRANSACTION_V">
antonio@9910
     3
    <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>
gorkaion@1785
     4
  </database>