src-db/database/model/views/C_BPARTNER_V.xml
changeset 9910 6767429386d8
parent 7031 2aac4501bbd5
child 9911 444911e2b851
--- a/src-db/database/model/views/C_BPARTNER_V.xml	Thu Jan 24 13:16:12 2013 +0100
+++ b/src-db/database/model/views/C_BPARTNER_V.xml	Mon Feb 04 09:27:53 2013 +0100
@@ -1,8 +1,4 @@
 <?xml version="1.0"?>
   <database name="VIEW C_BPARTNER_V">
-    <view name="C_BPARTNER_V"><![CDATA[SELECT p.ad_client_id, p.ad_org_id, p.c_bpartner_id, p.value, p.name, p.referenceno, p.so_creditlimit - p.so_creditused AS so_creditavailable, p.so_creditlimit, p.so_creditused, p.iscustomer, p.isvendor, p.actuallifetimevalue AS revenue, c.name AS contact, c.phone, a.postal, a.city, c.email
-FROM c_bpartner p
-LEFT JOIN ad_user c ON p.c_bpartner_id = c.c_bpartner_id
-LEFT JOIN c_bpartner_location l ON p.c_bpartner_id = l.c_bpartner_id
-LEFT JOIN c_location a ON l.c_location_id = a.c_location_id]]></view>
+    <view name="C_BPARTNER_V"><![CDATA[SELECT p.ad_client_id, p.ad_org_id, p.c_bpartner_id, p.value, p.name,  p.referenceno, p.so_creditlimit - p.so_creditused AS so_creditavailable,  p.so_creditlimit, p.so_creditused, p.iscustomer, p.isvendor,  p.actuallifetimevalue AS revenue, c.name AS contact, c.phone, a.postal,  a.city, c.email FROM c_bpartner p LEFT JOIN ad_user c ON p.c_bpartner_id = c.c_bpartner_id LEFT JOIN c_bpartner_location l ON p.c_bpartner_id = l.c_bpartner_id LEFT JOIN c_location a ON l.c_location_id = a.c_location_id]]></view>
   </database>