Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013926 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | major | always | 2010-07-08 23:14 | 2010-07-16 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | harikrishnan | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 99818017822d | |||
Projection | none | ETA | none | Target Version | 2.50MP20 | |||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP18 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013926: Quantity ordered duplicated | |||||||
Description | When Process a purchase Order (from Draft to Under Way) the Quantity ordered on m_storage_pending is updated: Old_qty_ordered + New_qty_ordered = Qty_updated 100 + 20 = 120 And when complete (from Under Way to Complete) the Quantity ordered is updated again, so: Qty_updated = Old_Qty_updated + New_qty_ordered 140 = 120 + 20 That is not correct because the purchase order is the same, with the same quantity not with the double qty ordered. | |||||||
Steps To Reproduce | - Create a purchase Order (PO1) - Create a line por product 1 qty=10 - See the column Qty ordered on product selector - Complete the order and select Process instead of Complete. - Create another Purchase Order and notice that the quantity ordered in the selectar has increased 10 units. (PO2) - Complete the PO1 and go again to the selector Product in PO2 and notice that the qty ordered has increased 10 units again. | |||||||
Proposed Solution | In C_ORder Post, if docStatus = 'Under Way' don't call M_STORAGE_PENDING_UPDATE | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0029308) hgbot (developer) 2010-07-14 12:56 |
Repository: erp/devel/pi Changeset: 99818017822d2cc2859a6b25edeabf173a09102a Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com> Date: Wed Jul 14 16:26:00 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/99818017822d2cc2859a6b25edeabf173a09102a [^] Fixes Issue 13926: Quantity ordered duplicated --- M src-db/database/model/functions/C_ORDER_POST1.xml --- |
(0029309) harikrishnan (viewer) 2010-07-14 12:57 |
Steps to test: *Create a purchase order header and line chose any product and note down the product. *Check these condition 1)From Draft to Complete 2)Draft to underway to Complete *In the second condition the product quantity will be updated only from draft to underway. Root Cause: *Before there is no condition is checked for this method.It ll be inserted to all the conditions. Impact: Their is no impact because of this change set. |
(0029322) sureshbabu (viewer) 2010-07-15 08:57 edited on: 2010-07-15 09:05 |
Issue is rightly fixed |
(0029330) hudsonbot (viewer) 2010-07-15 10:18 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/99818017822d [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/33fb2a504aa2 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17884.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-07-08 23:14 | networkb | New Issue | |
2010-07-08 23:14 | networkb | Assigned To | => adrianromero |
2010-07-08 23:14 | networkb | OBNetwork customer | => Yes |
2010-07-09 11:52 | adrianromero | Status | new => scheduled |
2010-07-09 11:52 | adrianromero | fix_in_branch | => pi |
2010-07-14 12:54 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-07-14 12:56 | hgbot | Checkin | |
2010-07-14 12:56 | hgbot | Note Added: 0029308 | |
2010-07-14 12:56 | hgbot | Status | scheduled => resolved |
2010-07-14 12:56 | hgbot | Resolution | open => fixed |
2010-07-14 12:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/99818017822d2cc2859a6b25edeabf173a09102a [^] |
2010-07-14 12:57 | harikrishnan | Note Added: 0029309 | |
2010-07-15 08:57 | sureshbabu | Note Added: 0029322 | |
2010-07-15 08:57 | sureshbabu | Status | resolved => closed |
2010-07-15 09:05 | sureshbabu | Note Edited: 0029322 | View Revisions |
2010-07-15 10:18 | hudsonbot | Checkin | |
2010-07-15 10:18 | hudsonbot | Note Added: 0029330 | |
2010-07-16 00:00 | anonymous | sf_bug_id | 0 => 3030270 |
Copyright © 2000 - 2009 MantisBT Group |