Bug fix - Added group-by clause on OrderPaymentPreference.statusId field on OrderPurchasePaymentSummary view so that the max amount is summed up according to the status.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Vikas Mayur
2011-01-08 09:07:40 +00:00
parent 55dc6b2256
commit fc05e626ce
@@ -916,7 +916,7 @@ under the License.
<alias entity-alias="OH" name="orderTypeId"/>
<alias entity-alias="OH" name="orderDate"/>
<alias entity-alias="OH" name="billingAccountId"/>
<alias entity-alias="OPP" name="preferenceStatusId" field="statusId"/>
<alias entity-alias="OPP" name="preferenceStatusId" field="statusId" group-by="true"/>
<view-link entity-alias="OH" rel-entity-alias="OPP">
<key-map field-name="orderId"/>
</view-link>