svn commit: r570037 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml

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

svn commit: r570037 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml

jonesde
Author: jonesde
Date: Mon Aug 27 01:37:58 2007
New Revision: 570037

URL: http://svn.apache.org/viewvc?rev=570037&view=rev
Log:
Small change to use more common naming convention

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?rev=570037&r1=570036&r2=570037&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Mon Aug 27 01:37:58 2007
@@ -217,7 +217,7 @@
     </simple-method>
 
     <simple-method method-name="createInventoryItemStatus" short-description="Create an inventory item status record">
-        <now-timestamp-to-env env-name="now"/>
+        <now-timestamp-to-env env-name="nowTimestamp"/>
 
         <!-- find the most recent InventoryItemStatus record and set the statusEndDatetime -->
         <entity-and entity-name="InventoryItemStatus" list-name="oldInventoryItemStatusList">
@@ -226,14 +226,14 @@
         </entity-and>
         <first-from-list entry-name="oldInventoryItemStatus" list-name="oldInventoryItemStatusList"/>
         <if-not-empty field-name="oldInventoryItemStatus">
-            <set field="oldInventoryItemStatus.statusEndDatetime" from-field="now"/>
+            <set field="oldInventoryItemStatus.statusEndDatetime" from-field="nowTimestamp"/>
             <store-value value-name="oldInventoryItemStatus"/>
         </if-not-empty>
         
         <make-value value-name="inventoryItemStatus" entity-name="InventoryItemStatus"/>
         <set-nonpk-fields map-name="parameters" value-name="inventoryItemStatus"/>
         <set-pk-fields map-name="parameters" value-name="inventoryItemStatus"/>
-        <set field="inventoryItemStatus.statusDatetime" from-field="now"/>
+        <set field="inventoryItemStatus.statusDatetime" from-field="nowTimestamp"/>
         
         <!-- make sure the current productId is set, if not passed in look up the current value -->
         <if-empty field-name="inventoryItemStatus.productId">