DunningRun
A dunning run: the dunning notices issued for all invoices that matched a selection at the time of the run.
DunningRunFields
The ID of the dunning run.
The state of the run.
The date printed on the notices of this run.
The selection: earliest payment due date.
The selection: latest payment due date. Empty means no upper bound.
The selection: company. Empty means all companies.
The selection: customer group. Empty means all customer groups.
The selection: payment method. Empty means all payment methods.
The selection: level number of the notices. Empty means all levels.
The selection: minimum open amount.
The number of notices the run has issued, one per invoice. List them with 'QueryDunningNotices' and the filter 'dunningRunId'.
The invoices that were selected but could not be dunned any more when the run wrote its notices, with the reason. Invoices that do not meet the rules at selection time are not selected at all and are not listed.
Why the run failed. Empty unless the status is Failed.
When the run was started.
The user who started the run.
When the run finished. Empty while it is running.
Was this page helpful?