Company dunning configuration
Cycle Tracking Fields
- LastDunningLetterCycleID
- A unique identifier for the current dunning cycle. The Selection job increments this identifier each time a new cycle begins. Records in DunningLetterHeader and DunningLetterDetail contain this identifier, which links each record to the dunning cycle.
- DunningLetterCycleStatus
-
The system tracks the current stage of the dunning cycle. Each job advances the status value when the job completes. The system uses the status field to enforce job sequencing. For example, the File Update Job does not run unless the status is 3. See the state table for more information:
Table 1. Cycle status state reference Value
State Name
Set By
Meaning
Blank / 4
Ready / DunningCycleComplete
File update job
No cycle is in progress, and the company is ready to run a new Selection Job, serving as the starting state for a new company or the final state after a completed cycle.
1
DunningRecordsSelected
Selection Job
DunningLetterHeader and DunningLetterDetail records exist, and the company is ready for the Print Job.
2
PrintedOrCreatedCSVFile
Print Job (with UpdateHistory = No)
Output is generated (printed letters or CSV), but no history records are created. You can rerun the Print Job or set UpdateHistory = Yes to move to status 3.
3
DunningHistoryProduced
Print Job (with UpdateHistory = Yes)
DunningHistory records are created and ReceivableInvoiceDetail fields are updated. The company is ready for the File Update Job, and the Print Job cannot be rerun with UpdateHistory = Yes.
4
DunningCycleComplete
File Update Job
Transient records are deleted and CompanyCustomer/ReceivableInvoiceDetail tracking fields are updated. The cycle is complete and ready for a new run.
IDM Configuration Fields
- UseIDM
- Acts as the master switch for IDM integration, enabling the Print Job to use IDM templates to generate dunning letter documents (with or instead of standard print output) when set to Yes, and disabling IDM when set to No.
- AdvancedDunningLetterTemplate
- The IDM template defines the layout, formatting, and data fields of the Advanced Dunning letter generated as a printed or PDF document, and must reference a valid template configured in IDM.
- AdvancedDunningLetterIDMEmailTemplate
- The IDM email template defines the email body layout for sending Advanced Dunning letters and works with the customer-level EmailAdvancedDunningLetter flag.
- AdvancedDunningLetterIDMEmailSubject
- The email subject line for Advanced Dunning letters supports text variables that the system replaces at runtime, such as CompanyName for the company name, CustomerName for the customer name, and PrintDate for the print date.
Aging Configuration Fields
- AgePeriods
- Defines the day-based boundaries for four standard aging periods, creating buckets such as Current, 1–30, 31–60, 61–90, and 91–120+ days, which the Selection Job uses to include or exclude invoices based on their aging bucket.
- ExpandedAgingPeriods
- Enables expanded aging periods when set to Yes, providing more granular aging buckets; otherwise, the system uses only the four standard aging periods defined in AgePeriods.
Currency Fields
- Currency
- The company’s base currency. The system uses it for dunning letter totals and balances unless multi-currency is enabled.
- MultiCurrencyProcessing
- When Yes, the system handles multiple currencies and creates separate totals per currency. DunningLetterTotals tracks past-due amounts by currency, so each currency's past-due amount is tracked independently. When No, it uses the company’s base currency..