Author: hansbak
Date: Tue Jul 21 03:06:35 2009
New Revision: 796134
URL:
http://svn.apache.org/viewvc?rev=796134&view=revLog:
make the link to GlAccountId and GlAccountClassId optional, so when any of these 2 fields are missing the entries of the gltrancation will now still be shown
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=796134&r1=796133&r2=796134&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Tue Jul 21 03:06:35 2009
@@ -1777,10 +1777,10 @@
<view-link entity-alias="ATR" rel-entity-alias="ATT">
<key-map field-name="acctgTransTypeId"/>
</view-link>
- <view-link entity-alias="ATE" rel-entity-alias="GLA">
+ <view-link entity-alias="ATE" rel-entity-alias="GLA" rel-optional="true">
<key-map field-name="glAccountId"/>
</view-link>
- <view-link entity-alias="GLA" rel-entity-alias="GLAC">
+ <view-link entity-alias="GLA" rel-entity-alias="GLAC" rel-optional="true">
<key-map field-name="glAccountClassId"/>
</view-link>
<relation type="one" fk-name="ATAE_GLACT" rel-entity-name="GlAccount">