Author: hansbak
Date: Wed Dec 12 22:21:30 2007 New Revision: 603835 URL: http://svn.apache.org/viewvc?rev=603835&view=rev Log: add view to be able to select parties by the parentRoleTypeId 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=603835&r1=603834&r2=603835&view=diff ============================================================================== --- ofbiz/trunk/applications/party/entitydef/entitygroup.xml (original) +++ ofbiz/trunk/applications/party/entitydef/entitygroup.xml Wed Dec 12 22:21:30 2007 @@ -132,6 +132,7 @@ <entity-group group="org.ofbiz" entity="PartyRelationshipAndDetail" /> <entity-group group="org.ofbiz" entity="PartyRole" /> <entity-group group="org.ofbiz" entity="PartyRoleAndPartyDetail" /> + <entity-group group="org.ofbiz" entity="PartyRoleDetailAndPartyDetail" /> <entity-group group="org.ofbiz" entity="PartyRoleNameDetail"/> <entity-group group="org.ofbiz" entity="PartyStatus" /> <entity-group group="org.ofbiz" entity="OldPartyTaxInfo" /> Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=603835&r1=603834&r2=603835&view=diff ============================================================================== --- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Wed Dec 12 22:21:30 2007 @@ -2020,6 +2020,41 @@ <key-map field-name="partyId"/> </view-link> </view-entity> + <view-entity entity-name="PartyRoleDetailAndPartyDetail" + package-name="org.ofbiz.party.party" + title="Party Role and Party Detail (Person, PartyGroup, etc) View Entity"> + <member-entity entity-alias="PTY" entity-name="Party"/> + <member-entity entity-alias="PR" entity-name="PartyRole"/> + <member-entity entity-alias="RT" entity-name="RoleType"/> + <member-entity entity-alias="PERSON" entity-name="Person"/> + <member-entity entity-alias="PTYGRP" entity-name="PartyGroup"/> + <alias-all entity-alias="PTY"> + <exclude field="description"/> + </alias-all> + <alias-all entity-alias="PR"/> + <alias-all entity-alias="RT"/> + <alias-all entity-alias="PERSON"> + <exclude field="comments"/> + </alias-all> + <alias-all entity-alias="PTYGRP"> + <exclude field="comments"/> + </alias-all> + <alias entity-alias="PERSON" name="personComments" field="comments"/> + <alias entity-alias="PTYGRP" name="partyGroupComments" field="comments"/> + <view-link entity-alias="PTY" rel-entity-alias="PR"> + <key-map field-name="partyId"/> + </view-link> + <view-link entity-alias="PTY" rel-entity-alias="PERSON" rel-optional="true"> + <key-map field-name="partyId"/> + </view-link> + <view-link entity-alias="PTY" rel-entity-alias="PTYGRP" rel-optional="true"> + <key-map field-name="partyId"/> + </view-link> + <view-link entity-alias="PR" rel-entity-alias="RT"> + <key-map field-name="roleTypeId"/> + </view-link> + </view-entity> + <view-entity entity-name="PartyRoleNameDetail" package-name="org.ofbiz.party.party" title="Party Role and Party Detail (Person, PartyGroup, etc) View Entity"> |
Free forum by Nabble | Edit this page |