Scenario
User is unable to generate Dunning Letter due to an Error: “A problem occurred during dunning letter PDF file creation probably due to malformed XML template”
The error is usually received if there is a missing HTML Tag on the Dunning Letter Template.
To resolve, check the exact Error message of the Template in Customization > Scripting > Script Execution Logs.
Solution
- Navigate to Documents > Templates > Template Files
- Click PDF Templates
- Click Dunning Templates
- Affected template: Click Edit
- Media Item: Click Edit
- Source Code: Review the code of the XML File if there are any missing HTML Tag
- Click Save
Note: Updating the template will not change the current Generated Dunning Letters to be printed. Manually update the Dunning Letter that are ready to be printed.
- Navigate to Setup > Dunning > Dunning PDF Printing Queue
- Click Current Queue
- Dunning Evaluation Result: Click Edit
- MESSAGE CONTENTS: Edit the template before printing the Dunning Letter.
- Click Save