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

View Revisions: Issue #43464 All Revisions ] Back to Issue ]
Summary 0043464: "Line Total" is not calculated correctly when the discounts are added to a product with quantity with decimals.
Revision 2020-03-23 17:12 by Leyre
Steps To Reproduce Backend:

1. Set the Preference "Web POS Use advanced discounts engine" = N

2. "Product" window -> for example "Alpine Poles" -> is Scale = true

3. In the "Channel Touchpoint" window:
   3.1 Scale url = http://localhost:8090/scale [^] [^]
   3.2 Hardware url = http://localhost:8090/printer [^] [^]

4. As system administrator, define the Unit of Measure of a product Standard Precision = 3, for example = EA (Unit of measure of "Alpine Poles" => Standard Precision = 3)

5. Define two discounts:
   Discount 1: Fixed Percentage Discount, discount % = 30, priority = 1
   Discount 2: Fixed Percentage Discount, discount % = 100, priority = 10

Scale in POS Hardware Manager:

1. Current weight = for example 0.234

Web POS:

1. Add the product Alpine Poles (quantity 0.432 in the HWM - Scale)

Verify this three errors:
1. The web pos shows two lines.
2. The quantity is 0.23 instead of 0.234.
3. The total receipt (even discount 2 is 100%) is 0.01.
Revision 2020-03-23 16:09 by Leyre
Steps To Reproduce Backend:

1. Set the Preference "Web POS Use advanced discounts engine" = N

2. "Product" window -> for example "Alpine Poles" -> is Scale = true

3. In the "Channel Touchpoint" window:
   3.1 Scale url = http://localhost:8090/scale [^] [^]
   3.2 Hardware url = http://localhost:8090/printer [^] [^]

4. As system administrator, define the Unit of Measure of a product Standard Precision = 3, for example = EA (Unit of measure of "Alpine Poles" => Standard Precision = 3)

5. Define two discounts:
   Discount 1: Fixed Percentage Discount, discount % = 30, priority = 1
   Discount 2: Fixed Percentage Discount, discount % = 100, priority = 10

Scale in POS Hardware Manager:

1. Current weight = for example 0.234

Web POS:

1. Add the product Alpine Poles (quantity 0.432 in the HWM - Scale)

Verify this three errors:
1. The web pos shows two lines.
2. The quantity is 0.43 instead of 0.432.
3. The total receipt (even discount 2 is 100%) is 0.01.
Revision 2020-03-20 16:18 by Leyre
Steps To Reproduce Backend:
1. Define the Unit of Measure of a product Standard Precision = 3
   for example = EA (Unit of measure of "Alpine Poles" => Standard Precision = 3
POSHardwareManager
Steps To Reproduce Backend:
1. Set the Preference "Web POS Use advanced discounts engine" = N

2. "Product" window -> for example "Alpine Poles" -> is Scale = true

3. In the "Channel Touchpoint" window:
   3.1 Scale url = http://localhost:8090/scale [^] [^]
   3.2 Hardware url = http://localhost:8090/printer [^] [^]

Scale in POS Hardware Manager:
1. Current weight = for example 0.269

Web POS:
1. Add the product Alpine Poles (quantity 0.269)
2. Add a discount, for example disc_var_perc - 5%

Verify that the Line total and the discount calculated are incorrect:
9.82 instead of 9.55, and 0.49 instead of 0.48

See attached image


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker