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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025467
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Discounts and Promotionsmajoralways2014-01-13 12:022015-11-09 09:14
ReporterguilleaerView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025467: Packs with products in common should work correctly using the button "Add pack" (ERP) or adding them with product browser (POS)

DescriptionButtons "Add pack" and "Product browser" should add the correct distribution of lines and the discount mechanism should detect this situation being able to apply different packs if the line distribution is correct (same product quantity as defined in the pack of multiplies)

If button (product browser in web POS) is used to add lines, the value of priority, shouldn't be taken into account.
If button (product browser in web POS) is used to add lines, the value of Apply next Discount, shouldn't be taken into account.

EXAMPLE OF DESIRED BEHAVIOR working with price NOT including taxes:
Pack 1:
Name: Camping pack (present in sample data)
price: 385
products:
 - 2 units of "Down sleeping bag 500"
 - 1 unit of "Expedition tent 4 season 2 person"

Pack 2:
Name: Individual Camping pack
price: 200
products:
 - 1 units of "Down sleeping bag 500"
 - 1 unit of "Expedition tent 4 season 2 person"

FOR POS & ERP
1. Add using button (product browser in web POS) a "Camping Pack"
2. Add using button (product browser in web POS) a "Individual Camping Pack"
The status of the ticket should be:
  2 Down sleeping bag 500
  1 Expedition tent 4 season 2 person
  1 Down sleeping bag 500
  1 Expedition tent 4 season 2 person
4. The net amount of this ticket should be 585 (385 + 200)
5. Add using button (product browser in Web POS) a "Camping pack"
6. The status of the ticket should be
  4 Down sleeping bag 500
  2 Expedition tent 4 season 2 person
  1 Down sleeping bag 500
  1 Expedition tent 4 season 2 person
7. The net amount of this ticket should be 970 ((385 x 2) + 200)
8. Add using button (product browser in Web POS) a "Individual Camping pack"
9. The status of the ticket should be
  4 Down sleeping bag 500
  2 Expedition tent 4 season 2 person
  2 Down sleeping bag 500
  2 Expedition tent 4 season 2 person
10. The net amount of this ticket should be 1170 ((385 x 2) + (200 x 2))
Steps To ReproduceWorking with price list NOT including taxes

Pack 1:
Name: Camping pack (present in sample data)
price: 385
products:
 - 2 units of "Down sleeping bag 500"
 - 1 unit of "Expedition tent 4 season 2 person"
priority: 10
Apply next Discount: checked

Pack 2:
Name: Individual Camping pack
price: 200
products:
 - 1 units of "Down sleeping bag 500"
 - 1 unit of "Expedition tent 4 season 2 person"
priority: 20
Apply next Discount: checked

PROBLEM 1: Without defining priorities it doesn't work. It should work, because using button we are indicating which pack should be used.

POS
---
1. using product browser add a "Camping pack"
2. using product browser add a "Individual camping pack"
3. The line distribution is correct -> OK
4. The price is correct -> Net: 585 + Taxes: 122.85 = 707.85 -> OK
5. Add again Camping pack
6. The units are increased correctly in the affected lines
7. The pack is not applied 2 times for the affected lines -> PROBLEM 2

ERP
---
1. Go to sales order
2. Add a "Camping pack" using add Pack button.
3. Add a "Individual Camping pack" using add Pack button.
4. The line distribution is correct -> OK
5. If you book the order in this situation the total amount is not correct -> PROBLEM 3 -> 851.50 total net amount -> Should be 585
6. Skipping the previous step, add again a "camping pack". PROBLEM 4 -> Instead of add units to the lines affected by the same pack, new lines are created.
7. Skipping steps 5 and 6, add again a "Individual camping pack". PROBLEM 5 -> Instead of increase the units of lines affected for the same pack, Units of the other pack are increased.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0022847RR14Q3 closedmalsasua DISCOUNTS: Packs from ERP doesn't work fine if the same products of the pack are defined in different lines in the sale order 
related to defect 0025331RMP30 closedguilleaer If you add more than one pack, the price of the product is not fine. 

-  Notes
(0066815)
jonalegriaesarte (reporter)
2014-05-05 13:35

Moved to design defect because the issue needs a big refactor of the functionality

- Issue History
Date Modified Username Field Change
2014-01-13 12:02 guilleaer New Issue
2014-01-13 12:02 guilleaer Assigned To => guilleaer
2014-01-13 12:02 guilleaer Triggers an Emergency Pack => No
2014-01-13 12:04 guilleaer Description Updated View Revisions
2014-01-23 17:33 guilleaer Target Version RMP31 => RMP32
2014-01-31 09:23 VictorVillar Relationship added related to 0022847
2014-02-11 12:24 VictorVillar Issue Monitored: networkb
2014-02-11 12:24 VictorVillar Note Added: 0064047
2014-02-11 12:28 VictorVillar Note Deleted: 0064047
2014-02-11 12:30 VictorVillar Issue Monitored: VictorVillar
2014-03-11 16:20 jonalegriaesarte Resolution time => 1395961200
2014-03-31 16:25 jonalegriaesarte Target Version RR14Q2 => RR14Q3
2014-05-05 13:35 jonalegriaesarte Note Added: 0066815
2014-05-05 13:35 jonalegriaesarte Type defect => design defect
2014-06-26 14:09 szapata Target Version RR14Q3 => RR14Q4
2014-09-22 16:52 mtaal Target Version RR14Q4 =>
2015-11-09 09:14 VictorVillar Relationship added related to 0025331


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker