Openbravo Issue Tracking System - POS2
View Issue Details
0056954POS2Corepublic2024-11-04 04:582025-03-10 11:22
ffourcade 
Bimla_vm 
highminoralways
closedfixed 
5
24Q3 
25Q2 
approved
OBPS
110758
No
0056954: Reject Quotation Background wrong behavior
Having 2 Sales Quotations created the same day, from 2 different organizations that have 'Grace days to reject quotation after creation date' = 1 (A) and Grace days to reject quotation after creation date = 30 (B).
If the next day (or later) we execute the process request 'Reject Quotation Background', it doest not filter by organization, but only by the organization property 'Grace days to reject quotation after creation date', and the process rejects both quotations.
1)Have 2 Sales Quotations created the same day, from 2 different organizations that have 'Grace days to reject quotation after creation date' = 1 (A) and Grace days to reject quotation after creation date = 30 (B).

2) Wait until the next day (or later, but less than 30 days) and run the process request 'Reject Quotation Background' selecting organization A.

3) Check in the process resullt that both quotations have been rejected. (It should only reject the quotation from organization A ('Grace days to reject quotation after creation date' = 1)
Add a filter by organization in https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/src/org/openbravo/pos2/process/RejectQuotationBackground.java?ref_type=heads#L88 [^]
No tags attached.
Issue History
2024-11-04 04:58ffourcadeNew Issue
2024-11-04 04:58ffourcadeAssigned To => Triage Platform Base
2024-11-04 04:58ffourcadeOBNetwork customer => OBPS
2024-11-04 04:58ffourcadeSupport ticket => 110758
2024-11-04 04:58ffourcadeTriggers an Emergency Pack => No
2025-01-16 08:48AugustoMauchAssigned ToTriage Platform Base => Retail
2025-01-24 08:28guillermogilAssigned ToRetail => jorgewederago
2025-01-24 08:28guillermogilStatusnew => acknowledged
2025-01-27 07:13Bimla_vmAssigned Tojorgewederago => Bimla_vm
2025-01-27 07:13Bimla_vmStatusacknowledged => scheduled
2025-01-30 06:24hgbotMerge Request Status => open
2025-01-30 06:24hgbotNote Added: 0174875
2025-03-10 11:21hgbotMerge Request Statusopen => approved
2025-03-10 11:22hgbotNote Added: 0176594
2025-03-10 11:22hgbotResolutionopen => fixed
2025-03-10 11:22hgbotStatusscheduled => closed
2025-03-10 11:22hgbotFixed in Version => 25Q2
2025-03-10 11:22hgbotNote Added: 0176595

Notes
(0174875)
hgbot   
2025-01-30 06:24   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3428 [^]
(0176594)
hgbot   
2025-03-10 11:22   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3428 [^]
(0176595)
hgbot   
2025-03-10 11:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ab2b38f3a6cb15d2faa0451307ab70cc9ea10d73
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 10-03-2025 10:22:24
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/ab2b38f3a6cb15d2faa0451307ab70cc9ea10d73 [^]

Fixed ISSUE-56954: Added org in filter to retrieve quotations

---
M src/org/openbravo/pos2/process/RejectQuotationBackground.java
---