Resolve Error: “A problem occurred during dunning letter PDF file creation probably due to malformed XML template”

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
  1. Navigate to Documents > Templates > Template Files
  2. Click PDF Templates 
  3. Click Dunning Templates 
  4. Affected template: Click Edit
  5. Media Item: Click Edit
  6. Source Code: Review the code of the XML File if there are any missing HTML Tag
  7. 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.

  1. Navigate to Setup > Dunning > Dunning PDF Printing Queue
  2. Click Current Queue 
  3. Dunning Evaluation Result: Click Edit
  4. MESSAGE CONTENTS: Edit the template before printing the Dunning Letter.
  5. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *