Author: ashish
Date: Fri Jun 20 22:29:28 2008
New Revision: 670139
URL:
http://svn.apache.org/viewvc?rev=670139&view=revLog:
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>