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

sichen
Author: sichen
Date: Wed Feb 27 16:12:58 2008
New Revision: 631785

URL: http://svn.apache.org/viewvc?rev=631785&view=rev
Log:
Add relation for GlAccountType's parent/child structure.

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

Modified: ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml?rev=631785&r1=631784&r2=631785&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Wed Feb 27 16:12:58 2008
@@ -1885,6 +1885,9 @@
       <field name="hasTable" type="indicator"></field>
       <field name="description" type="description"></field>
       <prim-key field="glAccountTypeId"/>
+      <relation type="one" fk-name="GLACTTY_PAR" title="Parent" rel-entity-name="GlAccountType">
+        <key-map field-name="parentTypeId" rel-field-name="glAccountTypeId"/>
+      </relation>
     </entity>
     <entity entity-name="GlAccountTypeDefault"
             package-name="org.ofbiz.accounting.ledger"