Hi Alok,
Are you sure that the only difference between the orders is the quantity?
May be you chose different payment methods and the order with quantity=2 was
not approved?
The orders in facilities/picking screen are filtered by
"findOrdersToPickMove" service, where in this case the only input param is
facilityId. For more details you have to check this service.
BTW there is one more possibility to create picklist: Order/findorders
screen. After you select the order, you have to choose pick orders and run
action. But again the chose orders are filtered from the same service.
Here are the comments from the service:
<simple-method method-name="findOrdersToPickMove"
short-description="Find Orders Ready to Pick or that need Stock Moves">
<!-- filter on:
+ OrderHeader.orderType = SALES_ORDER
+ OrderHeader.statusId = ORDER_APPROVED
+ OrderHeader.isRushOrder = if Y then add to rush list, still leave
in other lists
+ OrderItem.statusId = ITEM_APPROVED
+ total number of orders to pick: limit to X
+ OrderItemShipGroup.shipmentMethodTypeId = group by
+ ShipmentMethodType.sequenceNum = order display of methods by
x OrderItemShipGroup.carrierPartyId = group by along with ship
method?
+ OrderItemShipGroup.shipAfterDate is null or <= now
+ OrderItemShipGroup.maySplit = decide to include based on whether
all items available or not
x OrderItemShipGrpInvRes.reservedDatetime = sort by, or by order
date?
+ OrderItemShipGrpInvRes.quantityNotAvailable = if not null and not
0, and maySplit is N, exclude whole order
+ PicklistItem = check to see if any exist, if so then already on a
picklist
+ InventoryItem.facilityId = passed facilityId
+ FacilityLocation.locationTypeEnumId = FLT_PICKLOC, can be picked
now
+ FacilityLocation.locationTypeEnumId = FLT_BULK, stock move
needed, remove whole order from list to be picked, add to list needing stock
move
-->
Bilgin
--
View this message in context:
http://www.nabble.com/Problem-Related-to-Facility-Component-tp15776716p15804608.html
Sent from the OFBiz - User mailing list archive at Nabble.com.