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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057526
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-12-20 17:582024-12-20 17:59
ReporterDaria_ShView Statuspublic 
Assigned ToRetail 
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

0057526: Variable OTF Coupon can be created and applied with zero/negative/greater than 100% Discount value

DescriptionWhen zero/negative/greater than 100% values are entered as the 'Discount%' in the OTF Rule in the Backoffice, the rule is saved, and the OTF Coupon can still be generated and applied in the POS.

In the Backoffice:
1. Go to 'Discounts and Promotions' window
2. Create a new discount with 'Variable Amount Coupons' promotion type
3. Fulfill the required fields
4. Tick 'Uses coupon codes' and 'Is OTF Coupon' flags
5. Activate the Promotion/Discount by clicking 'Activate the selected records'
6. Go to 'OTF Coupons Generation Rules' window
7. Create new Rule → Fulfill the following fields:
- Applicant, Search Key, Description and Starting Date
- Issuance Time: At Paid Time
- Promotion/Discount: the one created above
- Amount Rule: Percentage
- Discount %: 0|-5|1000%
- Number of Uses: N Uses
- Number of Uses Limit
- Active: ✔
8. Proceed to 'Print' tab → Fulfill the required fields
9. Launch the HW manager
Steps To Reproduce1. Login to POS (livebuilds:vallblanca/openbravo)
2. Add product to the Order
3. Complete the Order (Click 'Pay', select 'Cash' and click 'Done')
4. Select 'Print' delivery option
5. Verify the printed Coupon in the HW manager
Actual Result: The Coupon is printed and saved in the BO (Discount Coupon window) with with the 'Amount' matching % of the Order Total per OTF Rule

6. Add product to the Order
7. Scan or redeem Coupon Code
Actual Result: The coupon is applied
Proposed SolutionThe validation should be set for 'Discount%' field preventing to save OTF rule with zero/negative/greater than 100% value
TagsNo tags attached.
Attached Filespng file icon Screenshot_69.png [^] (147,965 bytes) 2024-12-20 17:58


png file icon Screenshot_70.png [^] (87,001 bytes) 2024-12-20 17:59

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-12-20 17:58 Daria_Sh New Issue
2024-12-20 17:58 Daria_Sh Assigned To => Retail
2024-12-20 17:58 Daria_Sh File Added: Screenshot_69.png
2024-12-20 17:58 Daria_Sh Triggers an Emergency Pack => No
2024-12-20 17:59 Daria_Sh File Added: Screenshot_70.png
2024-12-20 17:59 Daria_Sh Description Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker