Author: ashish
Date: Sat Sep 15 04:27:50 2012
New Revision: 1385009

URL: http://svn.apache.org/viewvc?rev=1385009&view=rev
Log:
Applied bug fix from trunk revision: 1385008.
Bug fix. When creating Sales Order priority of Order is set to Medium i.e 2 in 
OrderHeader. But when reserving inventory of sales order  priority is not set 
in OrderItemShipGrpInvRes . This results placing Order to get last priority 
even if its ship before date is of earliest date. So this fix will solve the 
bug and Orders will get reservation priority as expected.
Thanks Divesh for the contribution.

Modified:
    
ofbiz/branches/release12.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml

Modified: 
ofbiz/branches/release12.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml?rev=1385009&r1=1385008&r2=1385009&view=diff
==============================================================================
--- 
ofbiz/branches/release12.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml
 (original)
+++ 
ofbiz/branches/release12.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml
 Sat Sep 15 04:27:50 2012
@@ -456,6 +456,8 @@ under the License.
     <simple-method method-name="reserveStoreInventory" 
short-description="Reserve Store Inventory">
         <entity-one entity-name="Product" value-field="product" 
use-cache="true"/>
         <entity-one entity-name="ProductStore" value-field="productStore" 
use-cache="true"/>
+        <entity-one entity-name="OrderHeader" value-field="orderHeader" 
use-cache="true"/>
+        <set field="parameters.priority" from-field="orderHeader.priority"/>
         <if-empty field="productStore">
             <add-error>
                 <fail-property resource="ProductUiLabels" 
property="ProductProductStoreNotFound"/>


Reply via email to