svn commit: r757658 - in /ofbiz/trunk: applications/party/entitydef/entitymodel.xml framework/common/entitydef/entitymodel.xml

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

svn commit: r757658 - in /ofbiz/trunk: applications/party/entitydef/entitymodel.xml framework/common/entitydef/entitymodel.xml

jonesde
Author: jonesde
Date: Tue Mar 24 04:25:45 2009
New Revision: 757658

URL: http://svn.apache.org/viewvc?rev=757658&view=rev
Log:
Moved NoteData.noteParty field to an extend-entity in the party component

Modified:
    ofbiz/trunk/applications/party/entitydef/entitymodel.xml
    ofbiz/trunk/framework/common/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=757658&r1=757657&r2=757658&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Tue Mar 24 04:25:45 2009
@@ -2621,6 +2621,12 @@
             <key-map field-name="organizationPartyId" rel-field-name="partyId"/>
         </relation>
     </extend-entity>
+    <extend-entity entity-name="NoteData">
+        <field name="noteParty" type="id"></field>
+        <relation type="one" fk-name="NOTE_DATA_PTY" title="Note" rel-entity-name="Party">
+            <key-map field-name="noteParty" rel-field-name="partyId"/>
+        </relation>
+    </extend-entity>
     <extend-entity entity-name="ServerHit">
         <field name="internalContentId" type="id"></field>
         <field name="partyId" type="id"></field>

Modified: ofbiz/trunk/framework/common/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/entitydef/entitymodel.xml?rev=757658&r1=757657&r2=757658&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/framework/common/entitydef/entitymodel.xml Tue Mar 24 04:25:45 2009
@@ -314,7 +314,6 @@
       <field name="noteId" type="id-ne"></field>
       <field name="noteName" type="name"></field>
       <field name="noteInfo" type="very-long"></field>
-      <field name="noteParty" type="id"></field>
       <field name="noteDateTime" type="date-time"></field>
       <prim-key field="noteId"/>
     </entity>