Author: jacopoc
Date: Wed Sep 26 03:30:33 2007
New Revision: 579569
URL:
http://svn.apache.org/viewvc?rev=579569&view=revLog:
Added new view entity useful to selecte work effort contact mechs by type.
Modified:
ofbiz/trunk/applications/workeffort/entitydef/entitygroup.xml
ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml
Modified: ofbiz/trunk/applications/workeffort/entitydef/entitygroup.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/entitydef/entitygroup.xml?rev=579569&r1=579568&r2=579569&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/entitydef/entitygroup.xml (original)
+++ ofbiz/trunk/applications/workeffort/entitydef/entitygroup.xml Wed Sep 26 03:30:33 2007
@@ -52,6 +52,7 @@
<entity-group group="org.ofbiz" entity="WorkEffortAttribute" />
<entity-group group="org.ofbiz" entity="WorkEffortBilling" />
<entity-group group="org.ofbiz" entity="WorkEffortContactMech" />
+ <entity-group group="org.ofbiz" entity="WorkEffortContactMechView" />
<entity-group group="org.ofbiz" entity="WorkEffortContent" />
<entity-group group="org.ofbiz" entity="WorkEffortContentType" />
<entity-group group="org.ofbiz" entity="WorkEffortContentAndInfo" />
Modified: ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml?rev=579569&r1=579568&r2=579569&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml (original)
+++ ofbiz/trunk/applications/workeffort/entitydef/entitymodel_view.xml Wed Sep 26 03:30:33 2007
@@ -702,5 +702,17 @@
<relation type="many" rel-entity-name="ContentAssocDataResourceViewTo">
<key-map field-name="contentId" rel-field-name="contentIdStart" />
</relation>
+ </view-entity>
+
+ <view-entity entity-name="WorkEffortContactMechView"
+ package-name="org.ofbiz.workeffort.workeffort"
+ title="Work Effort Contact Mech View Entity">
+ <member-entity entity-alias="WECM" entity-name="WorkEffortContactMech"/>
+ <member-entity entity-alias="CM" entity-name="ContactMech"/>
+ <alias-all entity-alias="WECM"/>
+ <alias-all entity-alias="CM"/>
+ <view-link entity-alias="WECM" rel-entity-alias="CM">
+ <key-map field-name="contactMechId"/>
+ </view-link>
</view-entity>
</entitymodel>