Author: sichen
Date: Thu Mar 22 15:27:59 2007
New Revision: 521506
URL:
http://svn.apache.org/viewvc?view=rev&rev=521506Log:
Log when picklist skips a back ordered/not in stock item
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?view=diff&rev=521506&r1=521505&r2=521506==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Thu Mar 22 15:27:59 2007
@@ -177,7 +177,7 @@
</then>
<else>
<log level="info" message="Found item to pick: ${orderItemShipGrpInvRes}"/>
- <!-- see if there is stock to pick -->
+ <!-- see if there is stock to pick. Items without stock (back ordered items) are not added to picklists. -->
<if>
<condition>
<or>
@@ -189,7 +189,10 @@
<log level="info" message="Item has stock; flagging order (${orderItemShipGrpInvRes.orderId}) as OK"/>
<set value="Y" field="hasStockToPick"/>
</then>
- </if>
+ <else>
+ <log level="info" message="Item ${orderitemShipGrpInvRes} does not have stock and will not be flagged as hasStockToPick"/>
+ </else>
+ </if>
<!-- check InventoryItem->FacilityLocation (if exists), if it is of type FLT_BULK set needs stock move to true -->
<get-related-one value-name="inventoryItem" relation-name="FacilityLocation" to-value-name="facilityLocation"/>