Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0051935Openbravo ERPA. Platformpublic2023-03-21 18:272023-03-22 09:57
jlopez 
jlopez 
normalminoralways
closedfixed 
5
 
PR23Q2 
Core
No
0051935: Check if there are other product price exceptions in the same date range and the same store, only among active records
There must be no date overlap between price exceptions for the same product and te same store, but this check must only be done between active records.
1.- Go to backoffice and the Price List window.
2.- Select a price list and a price list version.
3.- Select a product price and create a price exception for store A with the active checkbox unchecked.
4.- Create another price exception for store A in the same date range and with the active checkbox checked.

Shows the error: There are different product prices exceptions with same dates and organization
Perform check only among records with active checkbox checked.
No tags attached.
Issue History
2023-03-21 18:27jlopezNew Issue
2023-03-21 18:27jlopezAssigned To => jlopez
2023-03-21 18:27jlopezModules => Core
2023-03-21 18:27jlopezTriggers an Emergency Pack => No
2023-03-21 18:58hgbotNote Added: 0147786
2023-03-22 09:57hgbotResolutionopen => fixed
2023-03-22 09:57hgbotStatusnew => closed
2023-03-22 09:57hgbotNote Added: 0147821
2023-03-22 09:57hgbotFixed in Version => PR23Q2
2023-03-22 09:57hgbotNote Added: 0147822

Notes
(0147786)
hgbot   
2023-03-21 18:58   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/843 [^]
(0147821)
hgbot   
2023-03-22 09:57   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/843 [^]
(0147822)
hgbot   
2023-03-22 09:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 0c64c72ee0de807c36b860f7e7ed454c424e9677
Author: Javier López <javier.lopez@precognis.com>
Date: 22-03-2023 08:57:23
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/0c64c72ee0de807c36b860f7e7ed454c424e9677 [^]

Fixes ISSUE-51935: Check if there are other product price exceptions in the same date range and the same store, only among active records

---
M src/org/openbravo/event/ProductPriceExceptionEventHandler.java
---