[OFBiz] SVN: r6953 - trunk/applications/accounting/entitydef

sichen@svn.ofbiz.org sichen at svn.ofbiz.org
Wed Mar 8 17:45:02 CST 2006


Author: sichen
Date: 2006-03-08 17:44:59 -0600 (Wed, 08 Mar 2006)
New Revision: 6953

Modified:
   trunk/applications/accounting/entitydef/entitymodel.xml
Log:
Restored glAccountId to the view that produces sums of acctg trans entry amounts by product, except not grouped by. Changed isPosted to not grouped by since we're not going to select it for data.

Modified: trunk/applications/accounting/entitydef/entitymodel.xml
===================================================================
--- trunk/applications/accounting/entitydef/entitymodel.xml	2006-03-08 23:35:19 UTC (rev 6952)
+++ trunk/applications/accounting/entitydef/entitymodel.xml	2006-03-08 23:44:59 UTC (rev 6953)
@@ -1093,8 +1093,9 @@
       <alias entity-alias="ATE" name="productId" group-by="true"/>
       <alias entity-alias="ATE" name="debitCreditFlag" group-by="true"/>
       <alias entity-alias="ATE" name="amount" function="sum"/>
+      <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="true"/>
+      <alias entity-alias="ACT" name="isPosted" group-by="false"/> <!-- so we can select by posted status -->
       <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"/>



More information about the Svn mailing list