A patch from Joe Eckard "Clarify Non-Serialized Inventory Reservations / Add Flexibility " https://issues.apache.org/jira/browse/OFBIZ-2291 - OFBIZ-2291

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-04-25 21:50:08 +00:00
parent 0594f35d91
commit cbf1cbaa83
@@ -412,7 +412,8 @@ under the License.
<if>
<condition>
<and>
<if-empty field="inventoryItem.statusId"/>
<if-compare field="inventoryItem.statusId" operator="not-equals" value="ON_HOLD_NS"/>
<if-compare field="inventoryItem.statusId" operator="not-equals" value="DEFECTIVE_NS"/>
<not><if-empty field="inventoryItem.availableToPromiseTotal"/></not>
<if-compare field="inventoryItem.availableToPromiseTotal" operator="greater" value="0" type="BigDecimal"/>
</and>