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:582025-01-22 12:54
ReporterDaria_ShView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Support ticket
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 ]
related to defect 0057525 closedranjith_qualiantech_com OTF Coupon can be created and applied with a negative or zero 'Number of Uses Limit' value 

-  Notes
(0174547)
ranjith_qualiantech_com (viewer)
2025-01-22 12:54

Added fix as part of the issue https://issues.openbravo.com/view.php?id=57525 [^]

- 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 OBNetwork customer => No
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
2025-01-17 12:27 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2025-01-18 07:11 ranjith_qualiantech_com Status new => scheduled
2025-01-19 23:53 ranjith_qualiantech_com Note Added: 0174339
2025-01-22 12:53 ranjith_qualiantech_com Note Deleted: 0174339
2025-01-22 12:54 ranjith_qualiantech_com Note Added: 0174547
2025-01-22 12:54 ranjith_qualiantech_com Status scheduled => resolved
2025-01-22 12:54 ranjith_qualiantech_com Resolution open => fixed
2025-01-22 12:54 ranjith_qualiantech_com Status resolved => closed
2025-01-22 12:54 ranjith_qualiantech_com Relationship added related to 0057525


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker