Author: hansbak
Date: Tue Dec 18 23:27:57 2007
New Revision: 605454
URL:
http://svn.apache.org/viewvc?rev=605454&view=revLog:
add new view to select a phase from a given project in order to add a task
Modified:
ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml
ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml
Modified: ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml?rev=605454&r1=605453&r2=605454&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitygroup.xml Tue Dec 18 23:27:57 2007
@@ -26,6 +26,7 @@
<!-- ========================================================= -->
<entity-group group="org.ofbiz" entity="ProjectPartyAndPhaseAndTask"/>
+ <entity-group group="org.ofbiz" entity="ProjectPartyAndPhase"/>
<entity-group group="org.ofbiz" entity="ProjectAndPhaseAndTask"/>
<entity-group group="org.ofbiz" entity="TimesheetAndTimeEntry"/>
Modified: ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml?rev=605454&r1=605453&r2=605454&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/entitydef/entitymodel.xml Tue Dec 18 23:27:57 2007
@@ -28,6 +28,27 @@
<copyright>Copyright 2001-2006 The Apache Software Foundation</copyright>
<author>None</author>
<version>1.0</version>
+ <view-entity entity-name="ProjectPartyAndPhase"
+ package-name="org.ofbiz.workeffort.project"
+ title="To listr all the phases of project the logged user is part off">
+ <member-entity entity-alias="WEPA" entity-name="WorkEffortPartyAssignment"/>
+ <member-entity entity-alias="WEP" entity-name="WorkEffort"/>
+ <member-entity entity-alias="WEPH" entity-name="WorkEffort"/>
+ <alias-all entity-alias="WEPA">
+ <exclude field="facilityId"/>
+ <exclude field="workEffortId"/>
+ </alias-all>
+ <alias entity-alias="WEP" field="workEffortId" name="projectId"/>
+ <alias entity-alias="WEP" field="workEffortName" name="projectName"/>
+ <alias entity-alias="WEPH" field="workEffortId" name="phaseId"/>
+ <alias entity-alias="WEPH" field="workEffortName" name="phaseName"/>
+ <view-link entity-alias="WEPA" rel-entity-alias="WEP">
+ <key-map field-name="workEffortId"/>
+ </view-link>
+ <view-link entity-alias="WEP" rel-entity-alias="WEPH">
+ <key-map field-name="workEffortId" rel-field-name="workEffortParentId"/>
+ </view-link>
+ </view-entity>
<view-entity entity-name="ProjectPartyAndPhaseAndTask"
package-name="org.ofbiz.workeffort.project"
title="WorkEffort for use in party -> project -> phase -> task">