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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013133
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementminoralways2010-04-27 09:252010-05-25 08:33
ReporteradrianromeroView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionc9425f3fe11e
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

0013133: 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 ]
blocks defect 00131322.40MP13 closedharikrishnan m_get_offer error when using "create lines from" process 

-  Notes
(0026833)
hgbot (developer)
2010-05-01 13:31

Repository: erp/stable/2.40
Changeset: c9425f3fe11ec53a6f68d7f8d4774bae313a6ce3
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Sat May 01 17:00:34 2010 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/c9425f3fe11ec53a6f68d7f8d4774bae313a6ce3 [^]

Fixes Issue 13133: 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
---
(0026834)
harikrishnan (reporter)
2010-05-01 13:31

* 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.
(0027692)
arunkumar (reporter)
2010-05-25 08:33

Tested working fine

- Issue History
Date Modified Username Field Change
2010-04-27 09:25 adrianromero New Issue
2010-04-27 09:25 adrianromero Assigned To => adrianromero
2010-04-27 09:25 adrianromero Issue generated from 0013132
2010-04-27 09:25 adrianromero Relationship added blocks 0013132
2010-04-27 09:26 adrianromero Status new => scheduled
2010-04-27 09:26 adrianromero fix_in_branch => pi
2010-05-01 13:03 harikrishnan Assigned To adrianromero => harikrishnan
2010-05-01 13:31 hgbot Checkin
2010-05-01 13:31 hgbot Note Added: 0026833
2010-05-01 13:31 hgbot Status scheduled => resolved
2010-05-01 13:31 hgbot Resolution open => fixed
2010-05-01 13:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/c9425f3fe11ec53a6f68d7f8d4774bae313a6ce3 [^]
2010-05-01 13:31 harikrishnan Note Added: 0026834
2010-05-25 08:33 arunkumar Note Added: 0027692
2010-05-25 08:33 arunkumar Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker