ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r905785 - /ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml
Date Tue, 02 Feb 2010 20:39:13 GMT
Author: jaz
Date: Tue Feb  2 20:39:04 2010
New Revision: 905785

URL: http://svn.apache.org/viewvc?rev=905785&view=rev
Log:
implemented new view entity for WorkEffort + WorkEffortGoodStandard + Product

Modified:
    ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml

Modified: ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml?rev=905785&r1=905784&r2=905785&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml (original)
+++ ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml Tue Feb  2 20:39:04
2010
@@ -520,6 +520,22 @@
       </view-link>
     </view-entity>
 
+    <view-entity entity-name="WorkEffortProductGoods" package-name="org.ofbiz.workeffort.workeffort"
+            title="WorkEffort and related WorkEffortGoodStandard with Product">
+        <member-entity entity-alias="WE" entity-name="WorkEffort"/>
+        <member-entity entity-alias="WEGS" entity-name="WorkEffortGoodStandard"/>
+        <member-entity entity-alias="PROD" entity-name="Product"/>
+        <alias-all entity-alias="WE"/>
+        <alias-all entity-alias="WEGS"/>
+        <alias-all entity-alias="PROD"/>
+        <view-link rel-entity-alias="WEGS" entity-alias="WE">
+            <key-map field-name="workEffortId"/>
+        </view-link>
+        <view-link rel-entity-alias="PROD" entity-alias="WEGS">
+            <key-map field-name="productId"/>
+        </view-link>
+    </view-entity>
+    
     <view-entity entity-name="WorkEffortAndContentDataResource" package-name="org.ofbiz.workeffort.workeffort"
          title="WorkEffort and Content and DataResource View Entity">
         <member-entity entity-alias="WECO" entity-name="WorkEffortContent"/>



Mime
View raw message