Author: jleroux
Date: Thu Jan 8 11:05:56 2015
New Revision: 1650250
URL:
http://svn.apache.org/r1650250Log:
A patch from Forrest Rae for "addOrderShipmentToShipment Should Return shipmentItemSeqId"
https://issues.apache.org/jira/browse/OFBIZ-5950jleroux: this has no negative effects (testMultipleInventoryItemIssuance fails for another reason: OFBIZ-5364)
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml
ofbiz/trunk/applications/product/servicedef/services_shipment.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml?rev=1650250&r1=1650249&r2=1650250&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml Thu Jan 8 11:05:56 2015
@@ -1951,6 +1951,7 @@ under the License.
<set from-field="parameters.quantity" field="inputMap.quantity"/>
<call-service service-name="createShipmentItem" in-map-name="inputMap">
<result-to-field result-name="shipmentItemSeqId" field="parameters.shipmentItemSeqId"/>
+ <result-to-result result-name="shipmentItemSeqId" service-result-name="shipmentItemSeqId"/>
</call-service>
<clear-field field="inputMap"/>
<set from-field="parameters.userLogin" field="inputMap.userLogin"/>
Modified: ofbiz/trunk/applications/product/servicedef/services_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_shipment.xml?rev=1650250&r1=1650249&r2=1650250&view=diff==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_shipment.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_shipment.xml Thu Jan 8 11:05:56 2015
@@ -702,7 +702,7 @@ under the License.
</required-permissions>
<auto-attributes include="pk" mode="IN" optional="false"/>
<auto-attributes include="nonpk" mode="IN" optional="false"/>
- <override name="shipmentItemSeqId" mode="IN" optional="true"/>
+ <override name="shipmentItemSeqId" mode="INOUT" optional="true"/>
</service>
<service name="removeOrderShipmentFromShipment" engine="simple"
location="component://product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml" invoke="removeOrderShipmentFromShipment" auth="true">