Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013132
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2010-04-26 19:592010-05-18 21:43
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona106e43df4ad
ProjectionnoneETAnoneTarget Version2.40MP13
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP12SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013132: m_get_offer error when using "create lines from" process

DescriptionIf m_get_offer function returns more than one row and you run "Create lines from" process, only first offer will be applied.
Steps To Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00131332.40MP13 closedharikrishnan m_get_offer error when using "create lines from" process 
related to defect 00167403.0RC6 closedadrianromero Purchase Invoice - "Create lines From" feature does not take the unit price of the purchase order but the price list one 

-  Notes
(0026709)
networkb (developer)
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 (reporter)
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 (reporter)
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 (reporter)
2010-05-17 11:50

Tested working fine
(0027470)
hudsonbot (developer)
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 [^]

- Issue History
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 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
Powered by Mantis Bugtracker