Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025301 | Openbravo ERP | 03. Procurement management | public | 2013-12-11 02:23 | 2014-03-31 13:26 |
|
Reporter | jonalegriaesarte | |
Assigned To | AtulOpenbravo | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q2 | Fixed in Version | 3.0PR14Q2 | |
Merge Request Status | |
Review Assigned To | jonalegriaesarte |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 25291 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025301: Purchase order is reserving quantity. This is generating an issue when changing the stocked flag in product definition |
Description | Purchase order is reserving quantity. This is generating an issue when changing the stocked flag in product definition |
Steps To Reproduce | - Create a product, type item and stocked
- Create a purchase order
- Change the product type and the stocked flag. Error is shown |
Proposed Solution | In the scenario as mentioned in steps to reproduce, a message could be displayed as Product could not be updated. There are Pending PO associated with the product. Reactivate them prior to update product. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-12-11 02:23 | jonalegriaesarte | New Issue | |
2013-12-11 02:23 | jonalegriaesarte | Assigned To | => jonalegriaesarte |
2013-12-11 02:23 | jonalegriaesarte | Modules | => Core |
2013-12-11 02:23 | jonalegriaesarte | OBNetwork customer | => Yes |
2013-12-11 02:23 | jonalegriaesarte | Support ticket | => 25291 |
2013-12-11 02:23 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2014-01-07 12:51 | jonalegriaesarte | Assigned To | jonalegriaesarte => pramakrishnan |
2014-01-10 12:36 | AtulOpenbravo | Assigned To | pramakrishnan => AtulOpenbravo |
2014-01-10 12:37 | AtulOpenbravo | Status | new => scheduled |
2014-01-10 12:37 | AtulOpenbravo | fix_in_branch | => pi |
2014-01-14 09:43 | AtulOpenbravo | Note Added: 0063391 | |
2014-01-14 09:45 | AtulOpenbravo | fix_in_branch | pi => |
2014-01-14 09:45 | AtulOpenbravo | Proposed Solution updated | |
2014-02-20 12:42 | AtulOpenbravo | Note Added: 0064390 | |
2014-02-20 13:00 | AtulOpenbravo | Note Edited: 0063391 | bug_revision_view_page.php?bugnote_id=0063391#r5470 |
2014-02-20 14:13 | AtulOpenbravo | Note Added: 0064402 | |
2014-02-20 17:20 | AtulOpenbravo | Note Edited: 0064402 | bug_revision_view_page.php?bugnote_id=0064402#r5474 |
2014-03-11 13:15 | jonalegriaesarte | Resolution time | => 1395270000 |
2014-03-21 06:14 | AtulOpenbravo | Review Assigned To | => jonalegriaesarte |
2014-03-21 06:21 | hgbot | Checkin | |
2014-03-21 06:21 | hgbot | Note Added: 0065323 | |
2014-03-21 06:21 | hgbot | Status | scheduled => resolved |
2014-03-21 06:21 | hgbot | Resolution | open => fixed |
2014-03-21 06:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/18e0d8ef18cef4a28d371cfdf59ac7c6aec200d9 [^] |
2014-03-21 08:23 | hgbot | Checkin | |
2014-03-21 08:23 | hgbot | Note Added: 0065331 | |
2014-03-21 08:25 | hgbot | Checkin | |
2014-03-21 08:25 | hgbot | Note Added: 0065332 | |
2014-03-21 08:25 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/18e0d8ef18cef4a28d371cfdf59ac7c6aec200d9 [^] => http://code.openbravo.com/erp/devel/pi/rev/ca8c20bc2f674b70161dbfec85b328fab7dcc7ce [^] |
2014-03-21 15:59 | hudsonbot | Checkin | |
2014-03-21 15:59 | hudsonbot | Note Added: 0065363 | |
2014-03-21 15:59 | hudsonbot | Checkin | |
2014-03-21 15:59 | hudsonbot | Note Added: 0065365 | |
2014-03-21 15:59 | hudsonbot | Checkin | |
2014-03-21 15:59 | hudsonbot | Note Added: 0065366 | |
2014-03-31 13:26 | jonalegriaesarte | Note Added: 0065612 | |
2014-03-31 13:26 | jonalegriaesarte | Status | resolved => closed |
2014-03-31 13:26 | jonalegriaesarte | Fixed in Version | => PR14Q2 |
Notes |
|
(0063391)
|
AtulOpenbravo
|
2014-01-14 09:43
(edited on: 2014-02-20 13:00) |
|
We have following flows in the system.
- When a purchase order is booked for a product, Ordered Quantity in M_Storage_Pending keeps track of Pending Quantity yet to be received.
- When a Sales Order is booked for a product, Reserved Quantity in M_Storage_Peding keeps tracks of Pending Quantity yet to be shipped.
- If there are Pending Purchase Order & Sales Order Quantities or Stocked Quantities for a products we cannot do the following.
1 ] Set Active Flag = No.
2 ] Set Stocked Flag=No.
3 ] Change Uom of product
4 ] Change Attribute set already assigned to product.
To change above information then product should have
1 ] No Stock.
2 ] No Pending Purchase Order.
3 ] No Pending Sales Order.
|
|
|
|
Test Plan
- Create a product, type item and stocked.
- Create a purchase order, create a line with above product and process it.
- Change the product type or stocked flag, realize that message is shown as "Product could not be updated, There are Pending Purchase Orders associated with the product. Please reactivate those, prior to update product information." |
|
|
(0064402)
|
AtulOpenbravo
|
2014-02-20 14:13
(edited on: 2014-02-20 17:20) |
|
Alternate Test Plans.
1 ] Create a product A.
2 ] Enter a physical inventory for product A with Quantity Count = 100 and process it.
3 ] Enter a Sales Order with line of product A with ordered Qty = 100.
4 ] Generate a Shipment for above Sales Order and process it.
5 ] Enter Return From Customer with above Goods Shipment and returned qty as 10.
6 ] Go to product A, try to update Uom or Stocked flag or Active flag or Attribute Set. Message is displayed "Product could not be updated. There are associated Return From Customer transaction associated with the product. Reactivate them prior to update product information."
|
|
|
(0065323)
|
hgbot
|
2014-03-21 06:21
|
|
|
|
(0065331)
|
hgbot
|
2014-03-21 08:23
|
|
|
|
(0065332)
|
hgbot
|
2014-03-21 08:25
|
|
Repository: erp/devel/pi
Changeset: ca8c20bc2f674b70161dbfec85b328fab7dcc7ce
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Mar 17 15:55:36 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ca8c20bc2f674b70161dbfec85b328fab7dcc7ce [^]
Fixes Issue 25301 PO is reserving Qty, cannot update stock flag in product.
---
M src-db/database/model/triggers/M_PRODUCT_TRG.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
|
|
|
|
|
|
|
|
|
|
|
|
(0065612)
|
jonalegriaesarte
|
2014-03-31 13:26
|
|
Working fine, following the test plan. |
|