Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0033838 | Openbravo ERP | 07. Sales management | public | 2016-08-29 11:32 | 2016-09-19 16:27 | ||||||||||||||
Reporter | psanjuan | ||||||||||||||||||
Assigned To | markmm82 | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 20 | OS Version | Professional Appliance | |||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR16Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | aferraz | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0033838: Available inventory not correct if an order including a reserved product is closed. | ||||||||||||||||||
Description | Available inventory not correct if an order including a reserved product is closed. | ||||||||||||||||||
Steps To Reproduce | Make sure that "Enable Stock Reservations" preference is active as "Y". Log out and log in. Go to F&B International Client. Create a new product named "33838" for F&EB España. Select a purchase price list and a sales price list. Go to purchase order and create a new one for Bebidas Alegres BP. Purchase 10 units of this new item. Book the order. Create a Goods Receipt and receipt those 10 units in España Region Norte Wh, position RN-1-0-0 for instance. Complete the receipt. Create a Sales order, for F&B España, Alimentos BP. Add a product line. Select the product and enter 2 units. Leave "Stock Reservation" field empty. Go to Manage Reservation and press done. Go to Reserved Stock and check a new record has been created for this order with below info: Quantity = Reserved Qty = 2, Released = 0 Check also that both Sales Header and Sales order line shows as reservation status "Completely Reserved". Create now a goods shipment, and ship two units of the product, from RN-1-0-0. Complete the shipment. Check that Stock Reservation status has changed to "Closed" as it shows Release qty= 2. Go to the Sales Order and Close it. Verify that both Sales Header and Sales order line shows as reservation status "Completely Reserved" still. Go to the Stock Reservation related to the order. It remains the same. Quantity = Reserved Qty = Released = 2. Go to Goods Shipment window and void the shipment. Check a new stock reservation has been created in status completed, but related to the order in status closed, with Quantity = 2 - Reserved Qty= 2, Release = 0. This is not correct. Create another Sales order. Select the product and enter once again 2 units. Go to the line and press Manage Reservation button. Check below info is shown, which is not correct. Available Qty = 10 Reserved in others = 2 Quantity = 2 As it should be: Available Qty = 10 Reserved in others = 0 Quantity = 2 Press cancel. | ||||||||||||||||||
Proposed Solution | A new stock reservation in status "Completed" is created against an order (sales order) in status closed, this order can not be shipped, therefore a remaining reservation is shown there still while it should not be. Correct information shown should have been: Available Qty = 10 Reserved in others = 0 Quantity = 2 | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2016-08-29 11:32 | psanjuan | New Issue | |||||||||||||||||
2016-08-29 11:32 | psanjuan | Assigned To | => Triage Finance | ||||||||||||||||
2016-08-29 11:32 | psanjuan | Modules | => Core | ||||||||||||||||
2016-08-29 11:32 | psanjuan | Triggers an Emergency Pack | => No | ||||||||||||||||
2016-08-29 11:33 | psanjuan | Relationship added | related to 0033837 | ||||||||||||||||
2016-08-29 11:38 | psanjuan | Summary | tbd => Available inventory not correct if an order including a reserved product is closed. | ||||||||||||||||
2016-08-29 11:38 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=12936#r12936 | ||||||||||||||||
2016-08-29 11:38 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12938#r12938 | ||||||||||||||||
2016-08-29 11:41 | psanjuan | Note Added: 0089489 | |||||||||||||||||
2016-08-29 11:41 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12939#r12939 | ||||||||||||||||
2016-08-29 11:51 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12940#r12940 | ||||||||||||||||
2016-08-29 11:51 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-08-29 11:54 | psanjuan | Note Edited: 0089489 | bug_revision_view_page.php?bugnote_id=0089489#r12942 | ||||||||||||||||
2016-08-29 11:57 | psanjuan | Note Edited: 0089489 | bug_revision_view_page.php?bugnote_id=0089489#r12943 | ||||||||||||||||
2016-08-29 11:58 | psanjuan | Relationship added | blocks 0033752 | ||||||||||||||||
2016-08-29 13:36 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12944#r12944 | ||||||||||||||||
2016-08-29 14:14 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-08-29 15:07 | psanjuan | Note Edited: 0089489 | bug_revision_view_page.php?bugnote_id=0089489#r12945 | ||||||||||||||||
2016-08-29 15:07 | psanjuan | Relationship added | related to 0033842 | ||||||||||||||||
2016-09-05 10:54 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13038#r13038 | ||||||||||||||||
2016-09-05 10:57 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13039#r13039 | ||||||||||||||||
2016-09-05 11:19 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-09-05 11:21 | psanjuan | Note Deleted: 0089489 | |||||||||||||||||
2016-09-05 18:05 | aferraz | Relationship deleted | blocks 0033752 | ||||||||||||||||
2016-09-05 18:05 | aferraz | Relationship added | related to 0033752 | ||||||||||||||||
2016-09-06 16:59 | markmm82 | Status | new => scheduled | ||||||||||||||||
2016-09-06 16:59 | markmm82 | Assigned To | Triage Finance => markmm82 | ||||||||||||||||
2016-09-07 17:49 | ngarcia | Resolution time | => 1475013600 | ||||||||||||||||
2016-09-12 16:21 | markmm82 | Note Added: 0089900 | |||||||||||||||||
2016-09-16 09:59 | hgbot | Checkin | |||||||||||||||||
2016-09-16 09:59 | hgbot | Note Added: 0090032 | |||||||||||||||||
2016-09-16 09:59 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2016-09-16 09:59 | hgbot | Resolution | open => fixed | ||||||||||||||||
2016-09-16 09:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/676e265994661b17ddd4fcd452b71d8443659aa5 [^] | ||||||||||||||||
2016-09-16 10:02 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2016-09-16 10:02 | aferraz | Note Added: 0090034 | |||||||||||||||||
2016-09-16 10:02 | aferraz | Status | resolved => closed | ||||||||||||||||
2016-09-16 10:02 | aferraz | Fixed in Version | => 3.0PR16Q4 | ||||||||||||||||
2016-09-19 16:27 | hudsonbot | Checkin | |||||||||||||||||
2016-09-19 16:27 | hudsonbot | Note Added: 0090073 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|