svn commit: r1831480 - /ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml

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

svn commit: r1831480 - /ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml

jleroux@apache.org
Author: jleroux
Date: Sat May 12 13:46:45 2018
New Revision: 1831480

URL: http://svn.apache.org/viewvc?rev=1831480&view=rev
Log:
Improved: Convert Requirement related services from simple to entity-auto
(OFBIZ-10395)

We missed the optional custRequestId and custRequestItemSeqId parameters

Also removes useless default optional="true" elsewhere

Thanks: Suraj and Rishi

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml?rev=1831480&r1=1831479&r2=1831480&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_requirement.xml Sat May 12 13:46:45 2018
@@ -26,9 +26,11 @@ under the License.
 
     <service name="createRequirement" default-entity-name="Requirement" engine="entity-auto" invoke="create" auth="true">
         <description>Create a new requirement</description>
-        <auto-attributes include="pk" mode="INOUT" optional="true"/>
-        <auto-attributes include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="pk" mode="INOUT"/>
+        <auto-attributes include="nonpk" mode="IN"/>
         <override name="statusId" default-value="REQ_CREATED"/>
+        <override name="custRequestId"/>
+        <override name="custRequestItemSeqId"/>
     </service>
     <service name="updateRequirement" default-entity-name="Requirement" engine="entity-auto" invoke="update" auth="true">
         <description>Update an existing requirement</description>