Diagnostics in library files
You can use the Working Papers diagnostics capability to present critical and warning error messages to alert end users to problem areas in the financial statements. Diagnostics can be set up to prevent end users from printing the financial statements before the problem is resolved.
For example, you may want to prevent end users from printing the financial statements when the balance sheet is out of balance. As the template author, you can configure a diagnostic to do this.