svn commit: r752023 - /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: r752023 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml

hansbak-2
Author: hansbak
Date: Tue Mar 10 08:29:14 2009
New Revision: 752023

URL: http://svn.apache.org/viewvc?rev=752023&view=rev
Log:
be able to define the requestid

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=752023&r1=752022&r2=752023&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 Tue Mar 10 08:29:14 2009
@@ -65,10 +65,10 @@
         <if-empty field="parameters.statusId">
             <set value="CRQ_SUBMITTED" field="newEntity.statusId"/>
         </if-empty>
-
-        <sequenced-id sequence-name="CustRequest" field="custRequestId"/>
-        <to-string field="custRequestId"/>
-        <set from-field="custRequestId" field="newEntity.custRequestId"/>
+        
+        <if-empty field="parameters.custRequestId">
+            <sequenced-id sequence-name="CustRequest" field="newEntity.custRequestId"/>
+        </if-empty>
         <create-value value-field="newEntity"/>
         <field-to-result field="newEntity.custRequestId" result-name="custRequestId"/>