svn commit: r535299 - /ofbiz/trunk/applications/order/servicedef/services_return.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r535299 - /ofbiz/trunk/applications/order/servicedef/services_return.xml

jacopoc
Author: jacopoc
Date: Fri May  4 08:52:17 2007
New Revision: 535299

URL: http://svn.apache.org/viewvc?view=rev&rev=535299
Log:
Cleaned up service definition for the updateReturnItem service to avoid an error message when trying to cancel a return with items.

Modified:
    ofbiz/trunk/applications/order/servicedef/services_return.xml

Modified: ofbiz/trunk/applications/order/servicedef/services_return.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/services_return.xml?view=diff&rev=535299&r1=535298&r2=535299
==============================================================================
--- ofbiz/trunk/applications/order/servicedef/services_return.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/services_return.xml Fri May  4 08:52:17 2007
@@ -79,11 +79,11 @@
         <attribute name="returnItemSeqId" type="String" mode="OUT" optional="false"/>
         <override name="returnReasonId" optional="true"/>
     </service>
-    <service name="updateReturnItem" engine="simple"
+    <service name="updateReturnItem" engine="simple" default-entity-name="ReturnItem"
             location="org/ofbiz/order/order/OrderReturnServices.xml" invoke="updateReturnItem">
         <description>Update a ReturnItem and related adjustments</description>
-        <implements service="returnItemInterface"/>
-        <attribute entity-name="ReturnItem" name="returnItemSeqId" type="String" mode="IN" optional="false"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <attribute name="currentStatusId" type="String" mode="OUT" optional="false"/>
     </service>
     <service name="updateReturnItemsStatus" engine="simple"