Category: Knowledge Base

Current Append/Prepend PDF

Sometimes, adding the same PDFs to each document in a report is not sufficient and you must apply different PDFs, depending on the data (for example, Language). To be able to add the set of PDFs needed in a report, the Pdf.Store(key,image) function needs to be added to OnPreReport. Pdf.AppendFromStore(key) + Pdf.PrependFromStore(key), needs to be

Continue Reading

FIK code

Updated December 2022 In some cases, customers still want to have a FIK code on their invoices. To make this possible, ForNAV has a built-in function string, CurrReport.FIK(CardType: Number, Number: String, Account: String): string,which you can use to create the FIK string. If you use Continia’s Payment solution, to create the following FIK string: +71<000000004040663+12345678<

Continue Reading

Get line discounts on the Pro Forma Invoice

By default, the line discounts are not displayed on the ForNAV Pro Forma Invoice. This is by design; the underlying code clears the values and recalculates the line amounts. If you want to use the original lines, you can create a new JavaScript record to read them from Business Central:   Keywords: ProForma

Continue Reading

Move, modify, insert, and remove data items, sections, and controls in the Report Explorer

Under the Field List in the left pane of the Designer, you can find the Report Explorer:   You use the Report Explorer to edit a report using a tree view, in the following ways: You can move around data items, sections, and controls using drag-and-drop functionality. For example, you can: Move a data item

Continue Reading

Set up VAT clauses for your ForNAV reports

The VAT clauses in ForNAV work just like for any Business Central report. To set up VAT clauses, you must first create a new VAT clause. If necessary, you can set up translations for the VAT clauses as well. After you have created the VAT clause, you can add it to the VAT Posting Setup:

Continue Reading

Microsoft Excel reports in the ForNAV Report Pack

The ForNAV Report Pack 7.0 contains a set of out-of-the-box Excel reports to enable exporting aggregated data from the Business Central Ledger tables.   Each report can be run from their respective parent page (Customer List, Vendor List, and so on).   On the request page, you can select the language of the Excel sheet

Continue Reading

Creating a Microsoft Excel report with ForNAV

With ForNAV 7.0, you can create a custom Excel report, which has several benefits.   You can: Create the report without writing AL code – it only requires knowledge about the Business Central data model. Easily add data from related tables. Create a separate Excel worksheet per data item, which is better suited for Excel

Continue Reading

Override printer selection with an event

In situations where the normal use of the Printer Selection page is not enough to select the right printer for the current user, there is an event to help you override the printer selection. It is a standard event that is called before the request page is shown. The following code is an example of

Continue Reading

Create an email body layout for a custom report

This article describes how to create a new email body layout for a custom report. This is only relevant in an On-Premise installation with the DLL version of ForNAV. For any Universal Code installation (cloud or On Premise), this article is not relevant because in a Universal Code installation you can use any Custom Report

Continue Reading

Change the folder of the extension layout files

When you create a new Business Central report in an extension, you get two files: an AL file, which contains the code, and a layout file, which contains the layout information of the report. By default, ForNAV stores all the layout files for new and converted reports in the Layouts folder of your extension. In

Continue Reading