You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/02/20 11:06:07 UTC

svn commit: r1731359 - in /ofbiz/trunk/applications/product: script/org/ofbiz/product/feature/ProductFeatureServices.xml servicedef/services_feature.xml

Author: arunpatidar
Date: Sat Feb 20 10:06:07 2016
New Revision: 1731359

URL: http://svn.apache.org/viewvc?rev=1731359&view=rev
Log:
[OFBIZ-6910] Set productFeatureTypeId as INOUT in service defination so that calling service can use it for further processing.

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
    ofbiz/trunk/applications/product/servicedef/services_feature.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml?rev=1731359&r1=1731358&r2=1731359&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml Sat Feb 20 10:06:07 2016
@@ -80,6 +80,7 @@ under the License.
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
         <create-value value-field="newEntity"/>
+        <field-to-result field="newEntity.productFeatureTypeId" result-name="productFeatureTypeId"/>
     </simple-method>
     <!-- create a new ProductFeatureApplAttr -->
     <simple-method method-name="createProductFeatureApplAttr" short-description="Create a ProductFeatureApplAttr">

Modified: ofbiz/trunk/applications/product/servicedef/services_feature.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/servicedef/services_feature.xml?rev=1731359&r1=1731358&r2=1731359&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/servicedef/services_feature.xml (original)
+++ ofbiz/trunk/applications/product/servicedef/services_feature.xml Sat Feb 20 10:06:07 2016
@@ -181,7 +181,7 @@ under the License.
         <description>Create a ProductFeatureType</description>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
-        <override name="productFeatureTypeId" mode="IN" optional="true" />
+        <override name="productFeatureTypeId" mode="INOUT" optional="true" />
     </service>
     <service name="updateProductFeatureType" default-entity-name="ProductFeatureType" engine="entity-auto" invoke="update" auth="true">
         <description>Update a ProductFeatureType</description>