svn commit: r585211 - in /ofbiz/trunk/applications/order/entitydef: entitygroup.xml 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: r585211 - in /ofbiz/trunk/applications/order/entitydef: entitygroup.xml entitymodel.xml

jacopoc
Author: jacopoc
Date: Tue Oct 16 11:04:54 2007
New Revision: 585211

URL: http://svn.apache.org/viewvc?rev=585211&view=rev
Log:
Moved entity to the right package (from requirement to request); thanks to Chris Howe for the patch OFBIZ-726

Modified:
    ofbiz/trunk/applications/order/entitydef/entitygroup.xml
    ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/order/entitydef/entitygroup.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitygroup.xml?rev=585211&r1=585210&r2=585211&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitygroup.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitygroup.xml Tue Oct 16 11:04:54 2007
@@ -138,6 +138,7 @@
     <entity-group group="org.ofbiz" entity="CustRequestType" />
     <entity-group group="org.ofbiz" entity="CustRequestTypeAttr" />
     <entity-group group="org.ofbiz" entity="CustRequestWorkEffort" />
+    <entity-group group="org.ofbiz" entity="RespondingParty" />
 
     <!-- ========================================================= -->
     <!-- org.ofbiz.order.requirement -->
@@ -157,7 +158,6 @@
     <entity-group group="org.ofbiz" entity="RequirementStatus" />
     <entity-group group="org.ofbiz" entity="RequirementType" />
     <entity-group group="org.ofbiz" entity="RequirementTypeAttr" />
-    <entity-group group="org.ofbiz" entity="RespondingParty" />
     <entity-group group="org.ofbiz" entity="WorkReqFulfType" />
     <entity-group group="org.ofbiz" entity="WorkRequirementFulfillment" />
 

Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=585211&r1=585210&r2=585211&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Tue Oct 16 11:04:54 2007
@@ -1826,6 +1826,27 @@
             <key-map field-name="workEffortId"/>
         </relation>
     </entity>
+    <entity entity-name="RespondingParty"
+            package-name="org.ofbiz.order.request"
+            title="Responding Party Entity">
+      <field name="respondingPartySeqId" type="id-ne"></field>
+      <field name="custRequestId" type="id-ne"></field>
+      <field name="partyId" type="id-ne"></field>
+      <field name="contactMechId" type="id"></field>
+      <field name="dateSent" type="date-time"></field>
+      <prim-key field="respondingPartySeqId"/>
+      <prim-key field="custRequestId"/>
+      <prim-key field="partyId"/>
+      <relation type="one" fk-name="RESP_PTY_CSREQ" rel-entity-name="CustRequest">
+        <key-map field-name="custRequestId"/>
+      </relation>
+      <relation type="one" fk-name="RESP_PTY_PARTY" rel-entity-name="Party">
+        <key-map field-name="partyId"/>
+      </relation>
+      <relation type="one" fk-name="RESP_PTY_CMECH" rel-entity-name="ContactMech">
+        <key-map field-name="contactMechId"/>
+      </relation>
+    </entity>
 
     <!-- ========================================================= -->
     <!-- org.ofbiz.order.requirement -->
@@ -2034,27 +2055,6 @@
       </relation>
       <relation type="many" rel-entity-name="Requirement">
         <key-map field-name="requirementTypeId"/>
-      </relation>
-    </entity>
-    <entity entity-name="RespondingParty"
-            package-name="org.ofbiz.order.requirement"
-            title="Responding Party Entity">
-      <field name="respondingPartySeqId" type="id-ne"></field>
-      <field name="custRequestId" type="id-ne"></field>
-      <field name="partyId" type="id-ne"></field>
-      <field name="contactMechId" type="id"></field>
-      <field name="dateSent" type="date-time"></field>
-      <prim-key field="respondingPartySeqId"/>
-      <prim-key field="custRequestId"/>
-      <prim-key field="partyId"/>
-      <relation type="one" fk-name="RESP_PTY_CSREQ" rel-entity-name="CustRequest">
-        <key-map field-name="custRequestId"/>
-      </relation>
-      <relation type="one" fk-name="RESP_PTY_PARTY" rel-entity-name="Party">
-        <key-map field-name="partyId"/>
-      </relation>
-      <relation type="one" fk-name="RESP_PTY_CMECH" rel-entity-name="ContactMech">
-        <key-map field-name="contactMechId"/>
       </relation>
     </entity>
     <entity entity-name="WorkReqFulfType"