Author: hansbak
Date: Mon Aug 25 07:55:52 2008
New Revision: 688743
URL:
http://svn.apache.org/viewvc?rev=688743&view=revLog:
fill the request date with todays date 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=688743&r1=688742&r2=688743&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 Aug 25 07:55:52 2008
@@ -42,6 +42,11 @@
<set from-field="nowTimestamp" field="newEntity.createdDate"/>
<set from-field="userLogin.userLoginId" field="newEntity.lastModifiedByUserLogin"/>
<set from-field="userLogin.userLoginId" field="newEntity.createdByUserLogin"/>
+
+ <if-empty field="parameters.custRequestDate">
+ <set field="newEntity.custRequestDate" from-field="nowTimestamp"/>
+ </if-empty>
+
<if-empty field="parameters.statusId">
<set value="CRQ_SUBMITTED" field="newEntity.statusId"/>