Author: hansbak
Date: Fri Aug 15 00:36:16 2008
New Revision: 686168
URL:
http://svn.apache.org/viewvc?rev=686168&view=revLog:
list all customer requests with optional workeffort....correcting link error
Modified:
ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml
ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml
Modified: ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml?rev=686168&r1=686167&r2=686168&view=diff==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml Fri Aug 15 00:36:16 2008
@@ -1267,6 +1267,22 @@
<key-map field-name="workEffortId"/>
</relation>
</view-entity>
+ <view-entity entity-name="CustRequestInfoAndWorkEffort"
+ package-name="org.ofbiz.order.request"
+ title="Customer Request And WorkEffort">
+ <member-entity entity-alias="CR" entity-name="CustRequest"/>
+ <member-entity entity-alias="CRW" entity-name="CustRequestWorkEffort"/>
+ <alias-all entity-alias="CR"/>
+ <alias-all entity-alias="CRW">
+ <exclude field="custRequestId"/>
+ </alias-all>
+ <view-link entity-alias="CR" rel-entity-alias="CRW" rel-optional="true">
+ <key-map field-name="custRequestId"/>
+ </view-link>
+ <relation type="one-nofk" rel-entity-name="WorkEffort">
+ <key-map field-name="workEffortId"/>
+ </relation>
+ </view-entity>
<view-entity entity-name="CustRequestNoteView"
package-name="org.ofbiz.order.request"
title="Customer Request and Note View Entity">
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml?rev=686168&r1=686167&r2=686168&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml Fri Aug 15 00:36:16 2008
@@ -89,7 +89,7 @@
<field name="responseRequiredDate"><display/></field>
<field name="fromPartyId">
<display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}">
- <sub-hyperlink description="[${fromPartyId}]" target="/partymgr/control/viewprofile" target-type="inter-app"/>
+ <sub-hyperlink description="[${fromPartyId}]" target="/partymgr/control/viewprofile?partyId=${fromPartyId}" target-type="inter-app"/>
</display-entity>
</field>
<field name="statusId">