Author: lektran
Date: Fri Jun 15 01:35:55 2007
New Revision: 547577
URL:
http://svn.apache.org/viewvc?view=rev&rev=547577Log:
Fixed the incorrect flow of quickReceiveReturn, the shipment items were being created and received one at a time rather than creating all then receiving all which was resulting in a credit memo with the first return item only.
Modified:
ofbiz/branches/release4.0/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
Modified: ofbiz/branches/release4.0/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml?view=diff&rev=547577&r1=547576&r2=547577==============================================================================
--- ofbiz/branches/release4.0/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml (original)
+++ ofbiz/branches/release4.0/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml Fri Jun 15 01:35:55 2007
@@ -176,7 +176,8 @@
<call-service service-name="createShipmentItem" in-map-name="shipItemCtx">
<result-to-field result-name="shipmentItemSeqId"/>
</call-service>
-
+ </iterate>
+ <iterate entry-name="returnItem" list-name="returnItems">
<if-empty field-name="expectedItemStatus" map-name="returnItem">
<set value="INV_RETURNED" field="returnItem.expectedItemStatus" type="String"/>
</if-empty>