Author: hansbak
Date: Tue Dec 18 23:31:34 2007 New Revision: 605456 URL: http://svn.apache.org/viewvc?rev=605456&view=rev Log: add a view to be able to create a valid selection list for projectmembers Modified: ofbiz/trunk/applications/party/entitydef/entitygroup.xml ofbiz/trunk/applications/party/entitydef/entitymodel.xml Modified: ofbiz/trunk/applications/party/entitydef/entitygroup.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitygroup.xml?rev=605456&r1=605455&r2=605456&view=diff ============================================================================== --- ofbiz/trunk/applications/party/entitydef/entitygroup.xml (original) +++ ofbiz/trunk/applications/party/entitydef/entitygroup.xml Tue Dec 18 23:31:34 2007 @@ -116,6 +116,7 @@ <entity-group group="org.ofbiz" entity="PartyContentDetail" /> <entity-group group="org.ofbiz" entity="PartyContentType" /> <entity-group group="org.ofbiz" entity="PartyDataSource" /> + <entity-group group="org.ofbiz" entity="PartyDetailAndWorkEffortAssign"/> <entity-group group="org.ofbiz" entity="PartyGroup" /> <entity-group group="org.ofbiz" entity="PartyIcsAvsOverride" /> <entity-group group="org.ofbiz" entity="PartyInvitation" /> Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=605456&r1=605455&r2=605456&view=diff ============================================================================== --- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Tue Dec 18 23:31:34 2007 @@ -1447,7 +1447,41 @@ <key-map field-name="userLoginId"/> </relation> </view-entity> - <view-entity entity-name="UserLoginAndPartyDetails" + <view-entity entity-name="PartyDetailAndWorkEffortAssign" + package-name="org.ofbiz.party.party" + title="View to show the party assignment names for a workeffort with the partyStatus and AssignStatus"> + <member-entity entity-alias="PTY" entity-name="Party"/> + <member-entity entity-alias="WEF" entity-name="WorkEffortPartyAssignment"/> + <member-entity entity-alias="PER" entity-name="Person"/> + <member-entity entity-alias="PGR" entity-name="PartyGroup"/> + <member-entity entity-alias="WE" entity-name="WorkEffort"/> + <alias entity-alias="PTY" name="partyId"/> + <alias entity-alias="PTY" name="partyTypeId"/> + <alias entity-alias="PTY" field="statusId" name="partyStatusId"/> + <alias entity-alias="WE" name="workEffortTypeId"/> + <alias entity-alias="WEF" name="workEffortId"/> + <alias entity-alias="WEF" name="fromDate"/> + <alias entity-alias="WEF" name="thruDate"/> + <alias entity-alias="WEF" name="roleTypeId"/> + <alias entity-alias="WEF" name="statusId"/> + <alias entity-alias="PER" name="firstName"/> + <alias entity-alias="PER" name="middleName"/> + <alias entity-alias="PER" name="lastName"/> + <alias entity-alias="PGR" name="groupName"/> + <view-link entity-alias="WEF" rel-entity-alias="PTY"> + <key-map field-name="partyId"/> + </view-link> + <view-link entity-alias="WEF" rel-entity-alias="WE"> + <key-map field-name="workEffortId"/> + </view-link> + <view-link entity-alias="PTY" rel-entity-alias="PER" rel-optional="true"> + <key-map field-name="partyId"/> + </view-link> + <view-link entity-alias="PTY" rel-entity-alias="PGR" rel-optional="true"> + <key-map field-name="partyId"/> + </view-link> + </view-entity> + <view-entity entity-name="UserLoginAndPartyDetails" package-name="org.ofbiz.party.party" title="UserLogin, Party, Person and PartyGroup"> <member-entity entity-alias="ULN" entity-name="UserLogin"/> |
Free forum by Nabble | Edit this page |