You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/09/15 04:05:36 UTC

svn commit: r575852 - in /ofbiz/trunk/applications/product: script/org/ofbiz/product/inventory/InventoryServices.xml webapp/facility/inventory/InventoryForms.xml

Author: jonesde
Date: Fri Sep 14 19:05:34 2007
New Revision: 575852

URL: http://svn.apache.org/viewvc?rev=575852&view=rev
Log:
Some log message improvements; changed to always show quantity values, ie for serialized too since they are now used for those too

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
    ofbiz/trunk/applications/product/webapp/facility/inventory/InventoryForms.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=575852&r1=575851&r2=575852&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 Fri Sep 14 19:05:34 2007
@@ -297,7 +297,7 @@
                 <then>
                     <set field="inventoryItem.availableToPromiseTotal" value="1" type="Double"/>
                     <set field="inventoryItem.quantityOnHandTotal" value="1" type="Double"/>
-                    <log level="always" message="Storing totals [${inventoryItem.inventoryItemId}] for INV_AVAIABLE [1/1]"/>
+                    <log level="always" message="In updateSerializedInventoryTotals Storing totals for item [${inventoryItem.inventoryItemId}] INV_AVAIABLE [1/1]"/>
                     <store-value value-name="inventoryItem"/>
                 </then>
 
@@ -315,7 +315,7 @@
                     <then>
                         <set field="inventoryItem.availableToPromiseTotal" value="0" type="Double"/>
                         <set field="inventoryItem.quantityOnHandTotal" value="0" type="Double"/>
-                        <log level="always" message="Storing totals [${inventoryItem.inventoryItemId}] for INV_DELIVERED [0/0]"/>
+                        <log level="always" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for INV_DELIVERED [0/0]"/>
                         <store-value value-name="inventoryItem"/>
                     </then>
                 </else-if>
@@ -335,7 +335,7 @@
                     <then>
                         <set field="inventoryItem.availableToPromiseTotal" value="0" type="Double"/>
                         <set field="inventoryItem.quantityOnHandTotal" value="1" type="Double"/>
-                        <log level="always" message="Storing totals [${inventoryItem.inventoryItemId}] for other status [0/1]"/>
+                        <log level="always" message="In updateSerializedInventoryTotals Storing totals [${inventoryItem.inventoryItemId}] for other status [0/1]"/>
                         <store-value value-name="inventoryItem"/>
                     </then>
                 </else-if>

Modified: ofbiz/trunk/applications/product/webapp/facility/inventory/InventoryForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/inventory/InventoryForms.xml?rev=575852&r1=575851&r2=575852&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/inventory/InventoryForms.xml (original)
+++ ofbiz/trunk/applications/product/webapp/facility/inventory/InventoryForms.xml Fri Sep 14 19:05:34 2007
@@ -79,7 +79,7 @@
         </field>
         <field name="unitCost"><text/></field>
 
-        <field use-when="&quot;NON_SERIAL_INV_ITEM&quot;.equals(inventoryItemTypeId)" name="totals" title="${uiLabelMap.ProductAvailablePromiseQuantityHand}">
+        <field name="totals" title="${uiLabelMap.ProductAvailablePromiseQuantityHand}">
                 <display description="${inventoryItem.availableToPromiseTotal} / ${inventoryItem.quantityOnHandTotal}"/>
         </field>