Category: Knowledge Base

FieldExtensions and FieldGroups

This Knowledge Base article is relevant for ForNAV Designer version 5.5 and higher.   Until now, it has required some coding in JavaScript to format pairs of captions/values and to hide the caption if the value is blank.   For example, in the ForNAV report pack, the standard footer looked like the following: [ CompanyInformation.PhoneNo 

Continue Reading

JavaScript Records

We have extended the JavaScript Record functionality so that most database operations can be done without writing JavaScript code.   To change or add a JavaScript Record in a report, in the Property Grid, in the Records row, click the assist edit button (…).   In the Collection Editor, you can now add or change

Continue Reading

Calculating week numbers

JavaScript does not have a built-in function to calculate the ISO week number from a day. Therefore, to get the week number, in the ForNAV Designer, you must paste the following code into the OnPreReport trigger:   Date.prototype.getWeek = function() {   var date = new Date(this.getTime());   date.setHours(0, 0, 0, 0);   // Thursday

Continue Reading

Update ForNAV on premise (BC14 and later)

This article is relevant for updates up to and including BC21. For version BC22 and later, you need to upgrade to ForNAV Universal Code version For upgrade to ForNAV Universal Code version, please read this article: Upgrade ForNAV OnPrem from DLL to Universal Code —– Updating ForNAV in on-premise (OnPrem) situations is a five-step process:

Continue Reading

Update ForNAV from on premise to cloud

Moving your ForNAV reports from on premise (OnPrem) (C/Side or extensions) to cloud is a matter of conversion. On premise ForNAV reports use a dll to render; cloud ForNAV reports use a web service, therefore you must convert your reports. This conversion is a three-step process: Upgrade to the latest version of the ForNAV Designer

Continue Reading

New JavaScript properties and functions in ForNAV 5.4

With version 5.4, you can now do everything in JavaScript that you can do in AL, and much more. And the Field List in the Designer now makes it easier to use properties and functions on the report and dataitem object.   For example: CurrReport.<dataitemid>.Pdf.Append(<Rec.BlobField>) –  appends a PDF from a blob field to the

Continue Reading

Hide the Design option on the request page (RTC)

This article applies to on-premise Microsoft Dynamics NAV/Microsoft Dynamics 365 Business Central installations running the role tailored client. The Design option is shown on the request page of ForNAV reports, if the ForNAV Designer is installed on the client machine and you are a SUPER user in Business Central. This makes it relatively easy to

Continue Reading

A transaction must be started

If you are running a ForNAV report based on version 5.3 or earlier in Business Central 16 or newer, you might run into the following error when you save your report as an Excel document: A transaction must be started before changes can be made to the database. Microsoft Excel export problems are typically caused

Continue Reading

AL Project Settings Requirements

When you add ForNAV reports to your AL project, there are a couple of things you must set up. If you are starting a new project, the Designer can create a new project folder for you. Click Extensions on the toolbar and select New Extension Project. The Designer asks you which version of Business Central

Continue Reading

Archiving in ForNAV

This Knowledge Base article is relevant for ForNAV Report Pack 5.4 and higher.   In the ForNAV Report Pack 5.4 for Microsoft Dynamics 365 Business Central Cloud and Business Central OnPrem version 16 (and higher), ForNAV now supports archiving when a report is previewed, downloaded in Word/HTML/PDF, or printed.   To use this feature, you

Continue Reading