Author: sichen
Date: Fri Oct 26 10:16:02 2007
New Revision: 588716
URL:
http://svn.apache.org/viewvc?rev=588716&view=revLog:
Added group by glFiscalTypeId to AcctgTransEntryProdSums because without it, subtle bugs may crop up.
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=588716&r1=588715&r2=588716&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/accounting/entitydef/entitymodel.xml Fri Oct 26 10:16:02 2007
@@ -1540,6 +1540,7 @@
<alias entity-alias="ATE" name="glAccountId" group-by="false"/>
<alias entity-alias="GLA" name="glAccountTypeId" group-by="true"/> <!-- so we can select by type of account -->
<alias entity-alias="ACT" name="isPosted" group-by="false"/> <!-- so we can select by posted status -->
+ <alias entity-alias="ACT" name="glFiscalTypeId" group-by="true"/>
<alias entity-alias="ACT" name="transactionDate" group-by="false"/> <!-- so we can select the sum by date -->
<view-link entity-alias="ATE" rel-entity-alias="GLA">
<key-map field-name="glAccountId"/>