Author: hansbak
Date: Mon May 17 10:32:40 2010
New Revision: 945069
URL:
http://svn.apache.org/viewvc?rev=945069&view=revLog:
correction on last commit
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=945069&r1=945068&r2=945069&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 17 10:32:40 2010
@@ -209,17 +209,15 @@ under the License.
<make-value value-field="newEntity" entity-name="CustRequestAttribute"/>
<set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map="parameters" value-field="newEntity"/>
- <now-timestamp field="newEntity.lastModifiedDate"/>
<create-value value-field="newEntity"/>
- <entity-one entity-name="CustRequest" value-field="custRequest"/>
- <now-timestamp field="newEntity.lastModifiedDate"/>
- <store-value value-field="custRequest"/>
+ <call-simple-method method-name="updateCustRequestLastModifiedDate"/>
</simple-method>
<simple-method method-name="updateCustRequestAttribute" short-description="Update Customer Request Attribute">
<set from-field="parameters.custRequestId" field="lookupPKMap.custRequestId"/>
<set from-field="parameters.attrName" field="lookupPKMap.attrName"/>
<find-by-primary-key entity-name="CustRequestAttribute" map="lookupPKMap" value-field="custRequestAttr"/>
<set-nonpk-fields map="parameters" value-field="custRequestAttr"/>
+ <store-value value-field="custRequestAttr"/>
<call-simple-method method-name="updateCustRequestLastModifiedDate"/>
</simple-method>