Author: ashish
Date: Fri Jul 10 06:17:06 2009
New Revision: 792811
URL:
http://svn.apache.org/viewvc?rev=792811&view=revLog:
fk-name duplication.
Thanks Deepak for your report on this.
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=792811&r1=792810&r2=792811&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Fri Jul 10 06:17:06 2009
@@ -1284,7 +1284,7 @@
<prim-key field="invoiceItemSeqIdTo"/>
<prim-key field="invoiceItemAssocTypeId"/>
<prim-key field="fromDate"/>
- <relation type="one" fk-name="IN_ITMASSC_TYP" rel-entity-name="InvoiceItemAssocType">
+ <relation type="one" fk-name="IN_ITMASC_TYP_IIASC" rel-entity-name="InvoiceItemAssocType">
<key-map field-name="invoiceItemAssocTypeId"/>
</relation>
<relation type="one" fk-name="IN_ITMASSC_FIITM" title="From" rel-entity-name="InvoiceItem">
@@ -1311,7 +1311,7 @@
<field name="hasTable" type="indicator"></field>
<field name="description" type="description"></field>
<prim-key field="invoiceItemAssocTypeId"/>
- <relation type="one" fk-name="IN_ITMASSC_TYP" title="Parent" rel-entity-name="InvoiceItemAssocType">
+ <relation type="one" fk-name="IN_ITASC_TYP_PARNT" title="Parent" rel-entity-name="InvoiceItemAssocType">
<key-map field-name="parentTypeId" rel-field-name="invoiceItemAssocTypeId"/>
</relation>
</entity>