Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013132 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | always | 2010-04-26 19:59 | 2010-05-18 21:43 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | harikrishnan | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | a106e43df4ad | |||
Projection | none | ETA | none | Target Version | 2.40MP13 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40MP12 | 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 | 0013132: m_get_offer error when using "create lines from" process | |||||||
Description | If m_get_offer function returns more than one row and you run "Create lines from" process, only first offer will be applied. | |||||||
Steps To Reproduce | 1. Master Data Management || Pricing || Price Adjustments || Adjustments: create 2 adjustments a)name=adj1 start date=01/04/2010 end date=30/04/2010 discount%=10 bp category=not selected product category=not selected pricelist=all selected (choose Sales pricelist) product=not selected bp=all selected (choose mcgiver) b)name=adj2 start date=01/04/2010 end date=30/04/2010 discount%=15 bp category=not selected product category=not selected pricelist=all selected (choose Purchase pricelist) product=all selected (choose boots) bp=not selected 2. Master Data Management || Product || Product >> Price : set 3 prices of Boots in pricelist_version "Sales 2006" to 42. 2. Sales Management || Transactions || Goods Shipment || Header : create shipment for bp=mcgiver org=Main date=26/04/2010 product=boots qty=1 3. Sales Management || Transactions || Sales Invoice || Header : create invoice for bp=mcgiver org=Main date=26/04/2010 Create Lines From the previous shipment 4. Sales Management || Transactions || Sales Invoice || Header >> Lines >> Price Adjustments : navigate to Price Adjustment created for the invoice and realize that quantities are not correct. If you refresh the product you can check that PriceAdjustment is recalculated correctly. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0026709) networkb (viewer) 2010-04-26 20:00 |
due date=06/07/2010 |
(0026835) hgbot (developer) 2010-05-01 13:41 |
Repository: erp/devel/pi Changeset: a106e43df4ade25f5d5aa2cc22ae8210fab8c1ba Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com> Date: Sat May 01 17:10:36 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/a106e43df4ade25f5d5aa2cc22ae8210fab8c1ba [^] Fixes Issue 13132: m_get_offer error when using \"create lines from\" process. --- M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql --- |
(0026836) harikrishnan (viewer) 2010-05-01 13:42 |
* Testing of the issue: To test the issue, as Openbravo Admin, create a two price adjustments.If the invoice lines are created from "create lines from" then in price adjustments tab their should be two adjustments(Create price adjustments in such a way). * Explanation of the changeset that fixes the issue: In the CreateFrom class while copying the actual price offer price calculation is applied before.Now this calculation is applied. * Other areas affected by the changeset: The only areas affected by this change set are "Create Lines From " in sales invoice and purchase invoice. |
(0026876) sureshbabu (viewer) 2010-05-03 16:45 |
I am not finding any problem in retesting the fix, but still i need little more clarification about your explanation "If the invoice lines are created from "create lines from" then in price adjustments tab their should be two adjustments(Create price adjustments in such a way)." |
(0027360) arunkumar (viewer) 2010-05-17 11:50 |
Tested working fine |
(0027470) hudsonbot (viewer) 2010-05-18 21:43 |
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/a106e43df4ad [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2010-04-26 19:59 | networkb | New Issue | |
2010-04-26 19:59 | networkb | Assigned To | => adrianromero |
2010-04-26 19:59 | networkb | OBNetwork customer | => Yes |
2010-04-26 20:00 | networkb | Note Added: 0026709 | |
2010-04-27 09:24 | adrianromero | Status | new => scheduled |
2010-04-27 09:24 | adrianromero | fix_in_branch | => pi |
2010-04-27 09:25 | adrianromero | Issue cloned | 0013133 |
2010-04-27 09:25 | adrianromero | Relationship added | depends on 0013133 |
2010-05-01 13:04 | harikrishnan | Assigned To | adrianromero => harikrishnan |
2010-05-01 13:41 | hgbot | Checkin | |
2010-05-01 13:41 | hgbot | Note Added: 0026835 | |
2010-05-01 13:41 | hgbot | Status | scheduled => resolved |
2010-05-01 13:41 | hgbot | Resolution | open => fixed |
2010-05-01 13:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a106e43df4ade25f5d5aa2cc22ae8210fab8c1ba [^] |
2010-05-01 13:42 | harikrishnan | Note Added: 0026836 | |
2010-05-03 16:45 | sureshbabu | Note Added: 0026876 | |
2010-05-17 11:50 | arunkumar | Note Added: 0027360 | |
2010-05-17 11:50 | arunkumar | Status | resolved => closed |
2010-05-18 00:01 | anonymous | sf_bug_id | 0 => 3002959 |
2010-05-18 21:43 | hudsonbot | Checkin | |
2010-05-18 21:43 | hudsonbot | Note Added: 0027470 | |
2011-04-11 17:01 | adrianromero | Relationship added | related to 0016740 |
Copyright © 2000 - 2009 MantisBT Group |