Attaching files to printouts
The N24 CORE PrintOuts module enables automatic attachment of PDF files to main documents. This functionality allows merging the main printout with additional attachments into a single PDF document.
Configuration in business terms
To configure file attachments, follow these steps:
- Open Core Report Setup
- In the actions, select Business Terms
- Open an existing business term or create a new one
For more information on configuring business terms: Business Terms
Attaching a report
In the Business Terms card, there are fields available for attaching an additional report:
Additional Report — specifies the identifier of an additional report to be merged with the main report as a PDF. Only non-processing reports are available (i.e., reports designed for printing, excluding batch reports and data processing operations).
Additional Report Name — displays the name of the selected report (automatic field).
After selecting an additional report, the system will automatically run this report and merge the generated PDF with the main document.
Note
- The additional report is run without data context from the main document
- Only "Report" type reports are available (excluding batch reports and update operations)
- The report is executed automatically when generating the main document
Attaching a PDF file
In addition to reports, you can also attach a pre-prepared PDF file:
PDF Attached — specifies whether a PDF file is attached to this business term.
Attachment File Name — displays the name of the attached PDF file (automatic field).
To attach a PDF file:
- Open the business term card
- Use the file attachment function in Business Central
- Attach a PDF file
- The system will automatically detect the attachment and set the appropriate fields
Warning
- Only PDF format files are supported
- The PDF file must be properly attached to the business term record
- The attached file will be merged with the main document in the following order: main document → additional report → attached PDF
Usage examples
Attaching terms and conditions to an invoice
- Create a business term for a sales invoice
- Attach a PDF file with terms and conditions
- When generating an invoice, the terms and conditions will be automatically attached at the end of the document
Attaching additional information through a report
- Create a custom report with additional information
- In the business term, select this report in the Additional Report field
- When generating the document, information from the additional report will be attached
Combining both methods
- In the Additional Report field, select a report with system data
- Additionally, attach a PDF file with static information
- The final document will contain: main document → additional report → attached PDF
More information
- Business Terms — main business terms configuration
- General Settings — printout module configuration