svn commit: r590022 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r590022 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml

lektran
Author: lektran
Date: Tue Oct 30 03:23:31 2007
New Revision: 590022

URL: http://svn.apache.org/viewvc?rev=590022&view=rev
Log:
Set the userLoginId when storing a new OrderStatus during shipment receipt, this just sets it to the system UserLogin but is better than nothing and fixes a display problem when viewing a completed PO order.

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml?rev=590022&r1=590021&r2=590022&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderSimpleMethods.xml Tue Oct 30 03:23:31 2007
@@ -108,6 +108,7 @@
                     <set from-field="orderItem.orderItemSeqId" field="newValue.orderItemSeqId"/>
                     <set from-field="orderItem.orderId" field="newValue.orderId"/>
                     <set from-field="orderItem.statusId" field="newValue.statusId"/>
+                    <set from-field="parameters.userLogin.userLoginId" field="newValue.statusUserLogin"/>
                     <now-timestamp-to-env env-name="newValue.statusDatetime"/>
                     
                     <create-value value-name="newValue"/>
@@ -136,6 +137,7 @@
             
             <set from-field="orderHeader.orderId" field="newValue.orderId"/>
             <set from-field="orderHeader.statusId" field="newValue.statusId"/>
+            <set from-field="parameters.userLogin.userLoginId" field="newValue.statusUserLogin"/>
             <now-timestamp-to-env env-name="newValue.statusDatetime"/>
             
             <create-value value-name="newValue"/>