Author: lektran
Date: Sat May 2 09:35:34 2009
New Revision: 770917
URL:
http://svn.apache.org/viewvc?rev=770917&view=revLog:
Mark orderId optional="false" for the completePack service. Fix a test which wasn't supplying one.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml
ofbiz/trunk/applications/product/servicedef/services_shipment.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml?rev=770917&r1=770916&r2=770917&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml Sat May 2 09:35:34 2009
@@ -59,6 +59,7 @@
<log level="info" message="=====packBulkItemsResponseMap=======${packBulkItemsResponseMap}======"/>
+ <set field="completePackInMap.orderId" value="DEMO10090"/>
<set field="completePackInMap.packingSession" from-field="packingSession"/>
<set field="completePackInMap.handlingInstructions" value="Handle with care"/>
<set field="completePackInMap.pickerPartyId" value="DemoCustomer"/>
Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=770917&r1=770916&r2=770917&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Sat May 2 09:35:34 2009
@@ -560,9 +560,9 @@
<service name="completePack" engine="java"
location="org.ofbiz.shipment.packing.PackingServices" invoke="completePack" auth="true">
- <description>Complete the packging set the shipment to PACKED</description>
+ <description>Complete the packaging set the shipment to PACKED</description>
<attribute name="packingSession" type="org.ofbiz.shipment.packing.PackingSession" mode="IN" optional="false"/>
- <attribute name="orderId" type="String" mode="IN" optional="true"/>
+ <attribute name="orderId" type="String" mode="IN" optional="false"/>
<attribute name="invoiceId" type="String" mode="IN" optional="true"/>
<attribute name="shipmentId" type="String" mode="IN" optional="true"/>
<attribute name="handlingInstructions" type="String" mode="IN" optional="true"/>