You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2010/05/10 11:31:45 UTC
svn commit: r942694 -
/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml
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>