Openbravo Issue Tracking System - POS2
View Issue Details
0056954POS2Corepublic2024-11-04 04:582024-11-04 04:58
ffourcade 
Triage Platform Base 
highminoralways
newopen 
5
24Q3 
 
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:58ffourcadeTriggers an Emergency Pack => No

There are no notes attached to this issue.