FORNAV
Knowledge Base
Knowledge base articles (or “KB articles”) are your go-to resource for detailed feature insights and practical tips on using FORNAV. They’re filled with essential knowledge to address almost any question you might have.
-
Upgrade ForNAV OnPrem from DLL to Universal Code
This article describes upgrading ForNAV on-premise from DLL to Universal Code. Universal code extensions are extensions that are optimized to run on cloud and don’t use DLLs, the local file system, and other features that are only accessible for on-premise extensions. PLEASE NOTE! You need to upgrade ForNAV to Universal Code before upgrading to BC22.…
-
Paper Sources and ForNAV Direct Print
The preferred way to control the paper tray used when printing from Business Central is to use the paper source setting on a direct printer definition. In the list of ForNAV direct printers, you can select the Printer Specific paper source and then choose from the list of available paper sources for the printer: The…
-
Using request page variables to filter JavaScript records
Read how to Add request page variables to a report as a prerequisite to this article Sometimes you might want to set a dynamic filter on a JavaScript record in order to get a specific record. With the ForNAV Designer is it possible to do this when editing an AL-object from Business Central Cloud or…
-
Add request page variables to a report
You can use the report property Request Page Variables to add variables to the report’s request page. The value of the variables can later be used in JavaScript expressions to control the layout of the report. You can use this property when editing AL-object reports in your own extensions. If you want to add request…
-
Migration from Custom Report Layouts to Report Layouts
With Business Central 20, Microsoft introduced a new custom report layout subsystem with a new table layout, which works in parallel with the current custom layout subsystem. Eventually, Microsoft will deprecate the old custom layout subsystem and all Business Central extensions will need to be changed to use the new subsystem. Because Microsoft knows that…
-
Hidden ForNAV Direct Print features
In a support case today, a partner wrote that Business Central Print does not support Duplex, based on information from this article: OnAfterDocumentPrintReady Event – Business Central | Microsoft Learn After having a closer look, there are even more things not supported by Business Central: default copies, color, duplex, and custom paper trays/bins. However, ForNAV…
-
ForNAV Report Service
Today, running ForNAV OnPrem depends on a DLL, which has become the de facto way of integrating with Dynamics NAV and Business Central. However, after the move from C/SIDE to extensions, widespread use of Docker, and having to support a different model on Business Central Cloud, the value of using a DLL has decreased. On…
-
Formatting dates and numbers in JavaScript expressions
When using dates and numbers in JavaScript expressions, you often need formatting to get the desired result. The CurrReport.DotNetFormat function is helpful here, because it uses the .net format library, which can format almost everything: CurrReport.DotNetFormat(<value>,'<dotnetformatstring>’) CurrReport.DotNetFormat(<value>,'<dotnetformatstring>’,<languageid>) – formats a value using a .net format string using the current language or a specific language. To…
-
Getting the Shipment numbers from the posted sales invoice
Sometimes, you might want to print sales shipment information on a posted sales invoices. Because this is a one-to-many relationship – one sales invoice might be linked to many sales shipments and vice versa – you must get multiple records from the database. Note: You can also use this article to get the invoices from…
-
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…
