Users - quickship

Posted by Fred Forester-2 on
URL: http://ofbiz.116.s1.nabble.com/Users-quickship-tp138454.html


Hi All,

I would like to create a quickShipInstockItems and figured I could just
copy the the quickShipEntireOrder service and add quantityNotAvailable =
0 to the section that gets the OrderItemAndShipGrpInvResAndItem.
however, it seems quantityNotAvailable is null unless greater than 0.

is it possible to add a check for a null value in the condition expression.

eg...

<entity-condition entity-name="OrderItemAndShipGrpInvResAndItem"
list-name="orderItemAndShipGrpInvResAndItemList">
             <condition-list>
                 <condition-expr field-name="orderId"
env-name="orderHeader.orderId"/>
                 <condition-expr field-name="statusId"
value="ITEM_APPROVED"/>
                 <condition-expr field-name="quantityNotAvailable"
operator="equals" value="null"/>   --- HERE ---
             </condition-list>
         </entity-condition>

thanx
Fred.
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users