svn commit: r673464 - /ofbiz/trunk/applications/workeffort/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: r673464 - /ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml

jonesde
Author: jonesde
Date: Wed Jul  2 11:56:14 2008
New Revision: 673464

URL: http://svn.apache.org/viewvc?rev=673464&view=rev
Log:
Added relationship for rateUomId

Modified:
    ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml?rev=673464&r1=673463&r2=673464&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml Wed Jul  2 11:56:14 2008
@@ -69,6 +69,9 @@
       <field name="normalRate" type="currency-amount"></field>
       <field name="rateUomId" type="id"></field>
       <prim-key field="rateTypeId"/>
+        <relation type="one" fk-name="RATETYPE_RUOM" title="Rate" rel-entity-name="Uom">
+            <key-map field-name="rateUomId" rel-field-name="uomId"/>
+        </relation>
     </entity>
     <entity entity-name="TimeEntry"
             package-name="org.ofbiz.workeffort.timesheet"