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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056569
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] POSmajoralways2024-09-27 08:572024-09-27 08:57
ReporterremibrunetView 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

0056569: Discount for customer birthday doesn't work as expected

DescriptionWhen configuring a discount to be applied on customer's birthday, the CRM property condition comparator doesn't work as expected.
The CRM Connector Property used is 'birthDay - OBPOS_LblBirthdate'
The Comparator used is 'Is today'

The expected behavior is when it's the customer birthday, the discount is applied.
The current behavior is when the customer is born today, the discount is applied.
The comparator 'is today' take in account the year
Steps To ReproduceConfigure a discount (price adjustment, 5%)
In the 'CRM property condition' tab, add the entry :
CRM Connector Configuration = Openbravo BP CRM Integration
CRM Connector Property = birthDay - OBPOS_LblBirthdate
Comparator = Is today
Active = true

On POS, create a customer with birthday = today
Assign it to the ticket
Add a product -> the discount is applied
Create another customer with birthday = today - 1 year
Assign it to the ticket
Add a product -> the discount is not applied
Proposed SolutionChange the comparator Is today or create a new one to only compare the day+month with the current date.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-09-27 08:57 remibrunet New Issue
2024-09-27 08:57 remibrunet Assigned To => Retail
2024-09-27 08:57 remibrunet Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker