src-db/database/model/views/M_TRANSACTION_SUM.xml
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
--- a/src-db/database/model/views/M_TRANSACTION_SUM.xml	Thu Jan 24 13:16:12 2013 +0100
+++ b/src-db/database/model/views/M_TRANSACTION_SUM.xml	Mon Feb 04 09:27:53 2013 +0100
@@ -1,7 +1,4 @@
 <?xml version="1.0"?>
   <database name="VIEW M_TRANSACTION_SUM">
-    <view name="M_TRANSACTION_SUM"><![CDATA[SELECT t.ad_client_id, t.ad_org_id, t.movementtype, l.m_warehouse_id, t.m_locator_id, t.m_product_id, t.movementdate, sum(t.movementqty) AS movementqty
-FROM m_transaction t, m_locator l
-WHERE t.m_locator_id = l.m_locator_id
-GROUP BY t.ad_client_id, t.ad_org_id, t.movementtype, l.m_warehouse_id, t.m_locator_id, t.m_product_id, t.movementdate]]></view>
+    <view name="M_TRANSACTION_SUM"><![CDATA[SELECT t.ad_client_id, t.ad_org_id, t.movementtype, l.m_warehouse_id,  t.m_locator_id, t.m_product_id, t.movementdate,  sum(t.movementqty) AS movementqty FROM m_transaction t, m_locator l WHERE t.m_locator_id = l.m_locator_id GROUP BY t.ad_client_id, t.ad_org_id, t.movementtype, l.m_warehouse_id, t.m_locator_id, t.m_product_id, t.movementdate]]></view>
   </database>