svn commit: r925733 - /ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r925733 - /ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml

hansbak-2
Author: hansbak
Date: Sun Mar 21 06:46:20 2010
New Revision: 925733

URL: http://svn.apache.org/viewvc?rev=925733&view=rev
Log:
add the note view to the customer request

Modified:
    ofbiz/trunk/applications/order/entitydef/entitymodel_view.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=925733&r1=925732&r2=925733&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel_view.xml Sun Mar 21 06:46:20 2010
@@ -1309,6 +1309,22 @@ under the License.
         <key-map field-name="workEffortId"/>
       </relation>
     </view-entity>
+    <view-entity entity-name="CustRequestAndNote"
+            package-name="org.ofbiz.order.request"
+            title="Customer Request And Note">
+      <member-entity entity-alias="CRN" entity-name="CustRequestNote"/>
+      <member-entity entity-alias="ND" entity-name="NoteData"/>
+      <alias-all entity-alias="CRN">
+        <exclude field="noteId"/>
+      </alias-all>
+      <alias-all entity-alias="ND"/>
+      <view-link entity-alias="CRN" rel-entity-alias="ND">
+        <key-map field-name="noteId"/>
+      </view-link>
+      <relation type="one-nofk" rel-entity-name="CustRequest">
+        <key-map field-name="custRequestId"/>
+      </relation>
+    </view-entity>
     <view-entity entity-name="CustRequestInfoAndWorkEffortAndPartyRel"
             package-name="org.ofbiz.order.request"
             title="Customer Request And WorkEffort">