Author: sichen
Date: Mon Jul 30 11:53:15 2007
New Revision: 561090
URL:
http://svn.apache.org/viewvc?view=rev&rev=561090Log:
Fix for the change in r. 559943. A 'having' clause slipped in by mistake in place of a 'where' clause.
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?view=diff&rev=561090&r1=561089&r2=561090==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Mon Jul 30 11:53:15 2007
@@ -346,13 +346,13 @@
<!-- Retrieve and total the quantities of existing requirements for the product/facility -->
<entity-condition entity-name="Requirement" list-name="requirements">
- <having-condition-list combine="and">
+ <condition-list combine="and">
<condition-expr field-name="productId" operator="equals" env-name="parameters.productId"/>
<condition-expr field-name="requirementTypeId" operator="equals" value="PRODUCT_REQUIREMENT"/>
<condition-expr field-name="facilityId" operator="equals" env-name="productFacility.facilityId"/>
<condition-expr field-name="statusId" operator="not-equals" value="REQ_ORDERED"/>
<condition-expr field-name="statusId" operator="not-equals" value="REQ_REJECTED"/>
- </having-condition-list>
+ </condition-list>
</entity-condition>
<iterate entry-name="requirement" list-name="requirements">
<calculate field-name="existingRequirementTotal" type="Double">