To upgrade ForNAV reports and layouts from OnPrem to Universal Code:
Download the ForNAV Report Pack (Universal Code) for OnPrem – ForNAV and install it using PowerShell.
- Open the ForNAV Designer and click Extensions, Upgrade reports and layouts to universal code.
To start the upgrade, click Yes in the dialog.
- Select a backup folder:
If Business Central contains any ForNAV OnPrem reports or layouts, you see the following dialog:
If you click No, a list with all ForNAV OnPrem reports or layouts is displayed in the browser.
When you have selected the backup folder, the upgrade starts.
- The extensions containing the current OnPrem ForNAV reports and custom OnPrem layouts will be stored in the Old subdirectory in the backup folder.
- The extensions containing the current OnPrem ForNAV reports and custom OnPrem layouts will be converted to Universal code, uploaded to Business Central and stored in the New subdirectory in the backup folder.
If one of the extensions is a global extension or Show my code is set to false, the upgrade will fail and you must upgrade the extension manually using the ForNAV Converter.
If a report is converted from Classic, we cannot guarantee that the AL-code works without changes. If the report has AL-section triggers with logic having side-effects where the code sets values on global variables, which are used directly or indirectly in the dataset, these values might not be reflected in the dataset.