svn commit: r942694 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml

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

svn commit: r942694 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml

hansbak-2
Author: hansbak
Date: Mon May 10 09:31:45 2010
New Revision: 942694

URL: http://svn.apache.org/viewvc?rev=942694&view=rev
Log:
copy custrequest story from commevent content if not provided

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml?rev=942694&r1=942693&r2=942694&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml Mon May 10 09:31:45 2010
@@ -493,6 +493,9 @@ under the License.
             <set field="custRequest.fromPartyId" from-field="communicationEvent.partyIdFrom"/>
         </if-empty>
         <set field="custRequest.statusId" value="CRQ_ACCEPTED"/>
+        <if-empty field="custRequest.story">
+            <set field="custRequest.story" from-field="communicationEvent.content"/>
+        </if-empty>
         <call-service service-name="createCustRequest" in-map-name="custRequest">
             <result-to-field result-name="custRequestId" field="parameters.custRequestId"/>
         </call-service>