Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0025436 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] 07. Sales management | major | always | 2014-01-07 21:19 | 2017-12-11 10:15 | |||||||
Reporter | pjuvara | View Status | public | |||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | 3.0PR14Q2 | |||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | 3.0MP29.1 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | Google Chrome | |||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0025436: Buy X and get Y as a gift promotion results in negative invoice if order quantity is less than Y | |||||||||||
Description | Consider a case where if customers buy 10 units of product A they are entitled to up to 10 units of product B for free. This is supported with the "Buy X and get Y as a gift" promotion type delivered in the Discounts and Promotions for Retail module. If you create an invoice with one line for 10 units of A and a line with 15 units of B, the unit price of B is correctly adjusted down to reflect that only 5 units have a non zero price. However if you create an invoice with one line for 10 units of A and a line with 5 units of B, you get a negative price for B. The expectation is that the price for the lines for B is 0. | |||||||||||
Steps To Reproduce | See attached screenshots that reproduce: A) the promotion B) an invoice with the right discount applied C) an invoice with the incorrect discount applied | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | A-Promotion.png [^] (97,901 bytes) 2014-01-07 21:20
B-CorrectInvoice.png [^] (119,498 bytes) 2014-01-07 21:24 C-IncorrectInvoice.png [^] (119,760 bytes) 2014-01-07 21:26 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0063263) pjuvara (reporter) 2014-01-07 21:28 |
This defect was reported using the Discount and Promotion Rules for Retail module version 1.3.1010 |
(0063265) pjuvara (reporter) 2014-01-07 21:37 |
Please also see related issue 25437. |
(0090767) mtaal (manager) 2016-10-21 13:21 |
re-open to be validated by functional team |
(0100956) AtulOpenbravo (developer) 2017-12-11 10:15 edited on: 2017-12-11 10:17 |
- Login as F&B International Group Admin - Define product A and product B - Add sales price to them. product A = 10, product B = 15 - Define a Discount and Promotion of type Buy X and get Y as a gift - In Products Tab add Product A, quantity 10 and Product B as gift product, gift quantity as 10. - Create an invoice with one line for 10 units of product A and a line with 15 units of product B, the unit price of B is set as 5, correctly adjusted down to reflect that only 5 units have a non zero price. i.e 15 qty X 5 price = 75 ~ 5 units total amount (5 qty X 15 Price = 75) - Create an invoice with one line for 10 units of A and a line with 5 units of B and process the invoice. - Realize that the price for the line of product B is set as 0. |
Issue History | |||
Date Modified | Username | Field | Change |
2014-01-07 21:19 | pjuvara | New Issue | |
2014-01-07 21:19 | pjuvara | Assigned To | => dmiguelez |
2014-01-07 21:19 | pjuvara | Web browser | => Google Chrome |
2014-01-07 21:19 | pjuvara | Modules | => Core |
2014-01-07 21:19 | pjuvara | Triggers an Emergency Pack | => No |
2014-01-07 21:20 | pjuvara | File Added: A-Promotion.png | |
2014-01-07 21:24 | pjuvara | File Added: B-CorrectInvoice.png | |
2014-01-07 21:26 | pjuvara | File Added: C-IncorrectInvoice.png | |
2014-01-07 21:28 | pjuvara | Note Added: 0063263 | |
2014-01-07 21:37 | pjuvara | Note Added: 0063265 | |
2014-01-23 16:06 | mtaal | Web browser | Google Chrome => Google Chrome |
2014-01-23 16:06 | mtaal | Assigned To | dmiguelez => mtaal |
2014-01-23 16:06 | mtaal | Target Version | => 3.0MP32 |
2016-10-21 10:58 | mtaal | Status | new => closed |
2016-10-21 10:58 | mtaal | Resolution | open => out of date |
2016-10-21 13:17 | mtaal | Tag Attached: MT_closed_out_of_date | |
2016-10-21 13:21 | mtaal | Tag Detached: MT_closed_out_of_date | |
2016-10-21 13:21 | mtaal | Assigned To | mtaal => Triage Finance |
2016-10-21 13:21 | mtaal | Note Added: 0090767 | |
2016-10-21 13:21 | mtaal | Status | closed => new |
2016-10-21 13:21 | mtaal | Resolution | out of date => open |
2017-11-10 10:00 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo |
2017-11-10 10:00 | dmiguelez | Status | new => scheduled |
2017-12-11 10:15 | AtulOpenbravo | Note Added: 0100956 | |
2017-12-11 10:17 | AtulOpenbravo | Note Edited: 0100956 | View Revisions |
Copyright © 2000 - 2009 MantisBT Group |