Print documents with advanced reports
If you turn on the option to print with advanced reports, the program prints the document with an advanced template saved in the file instead of the old print design. The example prints sales invoice no. 5 for Alnakheel Est. with an invoice template.
Before you begin
- Turn on the matching option in Program Options > Display. Each option has its own kind of documents:
| Option | Windows that follow it |
|---|---|
| Print bills using advanced reports | Invoice windows and transfer bills. |
| Print orders using advanced reports | Order windows. |
| Print using advanced reports | All other documents: entries and receipt and payment vouchers, commercial papers, credit and debit notes and generating several credit notes, packing lists, assembly and disassembly, custody memos, direct labor, job orders, manufacturing, shipping between warehouses and shipping to profit centers, maintenance requests, printing several transfers, smart device point of sale transactions, points of sale and restaurants. |
The option Print entries using advanced reports also appears in the options, but the entry, receipt voucher and payment voucher windows read the option Print using advanced reports. All the options are explained in Program options.
- The file must have at least one template for the document type. If it has none, the Print and Preview buttons in the Print window stay disabled, and Design stays available. Ask the administrator to design a template: Design an advanced report.
- Save the document first. The template reads the saved document, so what you typed and did not save does not appear in it.
- For invoices, the usual print conditions apply, such as permissions and the question about unsaved changes. Turning on the option does not change them. See Print a bill.
Steps
-
Open the saved sales invoice no. 5 in its window.
-
Click Print.
A window titled Print appears instead of the usual Printing Bill window.
-
Choose the template in the Template list. The list shows the templates for this type of document that you created or that others shared. The program selects the template you chose last time for this type, or the first template in the list if there is none.
-
Click Print to print with the template, or Preview to see it in the advanced report viewer before printing.
-
Close the window. The program saves the template you chose and the two options in the window, for you alone. It saves the template per document type, so each invoice type has its own.
Instead of steps 2 and 4, you can click Preview in the document window itself. In bill windows, including orders and transfers, and in the journal entry and receipt/payment voucher windows, the viewer opens at once with the template saved for the document type. If no template is saved, the Print window appears. In the other windows, such as the shipment window, Preview opens the Print window every time.
The Design button in the window opens the designer: Design an advanced report.
The fields and buttons of the window are explained in Print, preview and print options.
Printing after saving
In the bill, journal entry, receipt/payment voucher and packing list windows, after you Add a new document, the program acts by the two options in the Print window.
| Case | What the program does after saving a new document |
|---|---|
| Print automatically when saving is ticked, and you have a saved template for this type | Sends the document to print with the saved template, and the Print window does not appear. |
| Print automatically when saving is ticked, and no template is saved for this type | The Print window appears for you to choose the template. |
| Show this window automatically when adding is ticked | The Print window appears after every save. |
| Both options unticked (the default) | The program does nothing. |
You cannot tick both options together: ticking one clears the other. The program saves the ticks for you when you close the window. In an invoice, the program then starts a new invoice.
Result
The program prints the document with the template you chose, or shows it in the viewer. Nothing changes in accounts or stock. If the template has the Right-to-Left Layout option, the document prints in that direction.
If something goes wrong
| What you see | Why it appears | What to do |
|---|---|---|
| The usual print window appears, not the Print window | The option for the document type is not turned on in Program Options > Display. | Turn on the right option from the table above. |
| Print and Preview are disabled in the Print window | No template for the document type is visible to you, that is, none you created or others shared. | Ask the administrator for a shared template, or design one: Design an advanced report. |
| What you typed in the document does not appear in the print | You did not save it. The template reads the saved document. | Save the document and print again. |
| Nothing happens after saving | Print automatically when saving and Show this window automatically when adding are not ticked. | Tick one of them in the Print window and close it. |
| A message with an error text on preview, and the viewer closes | The report could not be created from the template or from its data source. | Read the text. See Data source. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.