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 2008/08/25 16:55:52 UTC

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

Author: hansbak
Date: Mon Aug 25 07:55:52 2008
New Revision: 688743

URL: http://svn.apache.org/viewvc?rev=688743&view=rev
Log:
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"/>