You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2008/06/21 07:29:28 UTC

svn commit: r670139 - /ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml

Author: ashish
Date: Fri Jun 20 22:29:28 2008
New Revision: 670139

URL: http://svn.apache.org/viewvc?rev=670139&view=rev
Log:
Improved the relationship as suggested by Mr Tanakorn in Jira Issue # OFBIZ-1844.
Thanks Mr Tanakorn.

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=670139&r1=670138&r2=670139&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Fri Jun 20 22:29:28 2008
@@ -90,6 +90,9 @@
       <field name="justification" type="long-varchar"></field>
       <prim-key field="budgetId"/>
       <prim-key field="budgetItemSeqId"/>
+      <relation type="one" fk-name="BDGTITM_TO_BDGT" rel-entity-name="Budget">
+        <key-map field-name="budgetId"/>
+      </relation>       
       <relation type="one" fk-name="BUDGET_ITEM_BTYP" rel-entity-name="BudgetItemType">
         <key-map field-name="budgetItemTypeId"/>
       </relation>