Author: arunpatidar
Date: Sat Feb 20 10:19:37 2016
New Revision: 1731363

URL: http://svn.apache.org/viewvc?rev=1731363&view=rev
Log:
Applied fix from trunk for revision: 1731359 
===

[OFBIZ-6910] Set productFeatureTypeId as INOUT in service defination so that 
calling service can use it for further processing.

Modified:
    
ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
    
ofbiz/branches/release15.12/applications/product/servicedef/services_feature.xml

Modified: 
ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml?rev=1731363&r1=1731362&r2=1731363&view=diff
==============================================================================
--- 
ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
 (original)
+++ 
ofbiz/branches/release15.12/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
 Sat Feb 20 10:19:37 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/branches/release15.12/applications/product/servicedef/services_feature.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/product/servicedef/services_feature.xml?rev=1731363&r1=1731362&r2=1731363&view=diff
==============================================================================
--- 
ofbiz/branches/release15.12/applications/product/servicedef/services_feature.xml
 (original)
+++ 
ofbiz/branches/release15.12/applications/product/servicedef/services_feature.xml
 Sat Feb 20 10:19:37 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>


Reply via email to