premature dunning when dunning run is done on exactly the due date

Description

Normally a dunning should be created 28 days after completing the invoice. But due to a check for ‘DaysDue > 0’ and a check for ‘DaysDue < 0’ in DunningRunCreate the case ‘DaysDue = 0’ is never met and a dunning run line is created prematurely.

Environment

invoice with payment term with ‘net days’ = 14

dunning entry with ‘days after due date’ = 14

Activity

Carlos Ruiz
changed the Status
December 2, 2023 at 1:23 PM
Resolved
Closed
Carlos Ruiz
updated the Fix versions
October 18, 2023 at 3:22 PM
None
10
Carlos Ruiz
changed the Status
October 18, 2023 at 11:38 AM
Peer Review Queue
Resolved
Carlos Ruiz
updated the Resolution
October 18, 2023 at 11:38 AM
None
Fixed
Carlos Ruiz
updated the Fix versions
October 18, 2023 at 11:38 AM
None
11
Carlos Ruiz
changed the Status
October 17, 2023 at 3:46 PM
Open
Peer Review Queue
Carlos Ruiz
changed the Assignee
October 17, 2023 at 3:45 PM
Unassigned
Carlos Ruiz
Carlos Ruiz
changed the Priority
October 16, 2023 at 3:48 PM
Critical
Minor
Martin Schönbeck
created the Work item
July 6, 2023 at 3:15 PM
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 6, 2023 at 3:15 PM
Updated December 2, 2023 at 1:23 PM
Resolved October 18, 2023 at 11:38 AM