[JIRA] Commented: (OFBIZ-562) Errors about inventory levels when packing a product split across more than one inventory item

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

[JIRA] Commented: (OFBIZ-562) Errors about inventory levels when packing a product split across more than one inventory item

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-562?page=comments#action_14050 ]
     
Marco Risaliti commented on OFBIZ-562:
--------------------------------------

Can we close it or move it ?

Thanks
Marco

> Errors about inventory levels when packing a product split across more than one inventory item
> ----------------------------------------------------------------------------------------------
>
>          Key: OFBIZ-562
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-562
>      Project: [OFBiz] Open For Business
>         Type: Bug
>   Components: product
>     Versions: SVN
>  Environment: N/A
>     Reporter: Ray Barlow
>     Assignee: Andrew Zeneski

>
>
> To reproduce this you will need a product with more than one inventory item that has enough levels i.e. two items with ATP/QOH of 10/10.
> Raise an order for the product with a quantity of 15 and approve if needed, you can skip the pick section just go straight to pack and enter the order id with the shipment 00001.
> Tick the checkbox to pack your 15 items and click the "Pack Items" button.
> The on screen error reports:
>   Not enough inventory reservation available; cannot pack the item!
> In reality we have enough and it is reserved across both inventory items when viewed in the order manager, but it wont let you pack it.
> Exception follows:
> 646479 (http-0.0.0.0-8081-Processor3) [     RequestHandler.java:210:INFO ] [Processing Request]: ProcessBulkPackOrder
> 646489 (http-0.0.0.0-8081-Processor3) [    PackingServices.java:96 :INFO ] Item: 00001 / Product: GZ-8544 / Quantity: 15 /  Package: 1
> 646509 (http-0.0.0.0-8081-Processor3) [     PackingSession.java:225:INFO ] No current line found testing R: 10.0 / Q: 15.0
> 646509 (http-0.0.0.0-8081-Processor3) [     PackingSession.java:225:INFO ] No current line found testing R: 5.0 / Q: 15.0
> 646520 (http-0.0.0.0-8081-Processor3) [    PackingServices.java:110:ERROR]
> ---- exception report ----------------------------------------------------------
> Exception: org.ofbiz.base.util.GeneralException
> Message: Not enough inventory reservation available; cannot pack the item!
> ---- stack trace ---------------------------------------------------------------
> org.ofbiz.base.util.GeneralException: Not enough inventory reservation available; cannot pack the item!
> org.ofbiz.shipment.packing.PackingSession.addOrIncreaseLine(PackingSession.java:148)
> org.ofbiz.shipment.packing.PackingServices.packBulk(PackingServices.java:108)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> ..........

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira