You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/02/02 16:44:36 UTC

svn commit: r740013 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml

Author: jleroux
Date: Mon Feb  2 15:44:35 2009
New Revision: 740013

URL: http://svn.apache.org/viewvc?rev=740013&view=rev
Log:
count-name => count-field

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml?rev=740013&r1=740012&r2=740013&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml Mon Feb  2 15:44:35 2009
@@ -197,7 +197,7 @@
 
         <if-compare field="returnHeader.needsInventoryReceive" operator="equals" value="Y">
             <!-- before receiving inventory, check to see if there is inventory information in this database -->
-            <entity-count entity-name="InventoryItem" count-name="iiCount">
+            <entity-count entity-name="InventoryItem" count-field="iiCount">
                 <condition-expr field-name="facilityId" operator="equals" from-field="returnHeader.destinationFacilityId"/>
             </entity-count>
 
@@ -221,7 +221,7 @@
 
                 <now-timestamp field="nowTimestamp"/>
 
-                <entity-count entity-name="ReturnItem" count-name="returnItemCount">
+                <entity-count entity-name="ReturnItem" count-field="returnItemCount">
                     <condition-expr field-name="returnId" operator="equals" from-field="returnHeader.returnId"/>
                 </entity-count>
                 <set field="nonProductItems" type="Long" value="0"/>
@@ -251,7 +251,7 @@
                             <result-to-field result-name="initialItemCost" field="receiveCtx.unitCost"/>
                         </call-service>
                         <!--check if the items already have SERIALIZED inventory. If so, it still puts them back as SERIALIZED with status "Accepted."-->
-                        <entity-count entity-name="InventoryItem" count-name="serializedItemCount">
+                        <entity-count entity-name="InventoryItem" count-field="serializedItemCount">
                             <condition-list combine="and">
                                 <condition-expr field-name="productId" operator="equals" from-field="returnItem.productId"/>
                                 <condition-expr field-name="facilityId" operator="equals" from-field="returnHeader.destinationFacilityId"/>