svn commit: r1385010 - /ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml

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

svn commit: r1385010 - /ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml

ashish-18
Author: ashish
Date: Sat Sep 15 04:28:42 2012
New Revision: 1385010

URL: http://svn.apache.org/viewvc?rev=1385010&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/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml

Modified: ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml?rev=1385010&r1=1385009&r2=1385010&view=diff
==============================================================================
--- ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml (original)
+++ ofbiz/branches/release11.04/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml Sat Sep 15 04:28:42 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"/>