This topic is for developers and describes the steps required to transfer the data from the old C/AL version (NAV AddOn) to the new AL version (BC Extension).
Important
The following describes the upgrade of a solution without customizations.
If customizations exist in the old solution, separate extensions must be created for the customizations.
Preparation: Rename old tables in the NAV database
The tables of the old solution are already in the NAV database in the 1000000 object range.
In order to bring the table structure of the old solution on a uniform basis and to avoid naming conflicts with the tables of the new solution, the old tables must be updated and renamed.
To do this, import the NCB_UpgradeToBC_Step1_RenameOldTables.fob file with Replace All.
The old tables are then marked with OLD_.
The code, variables and functions and all TableRelations to the standard objects were also removed from the old tables.
Once the upgrade is complete, the data from the old NCB Balance system can be prepared for transfer to the new version. For this purpose, the app "NCB Balance by NAVAX 14.0.0.0" must be installed.
Use the file NAVAX Consulting GmbH_NCB Balance by NAVAX_14.0.0.0.app here.
This app contains only the data structure and no NCB Balance application code.
After the installation, the upgrade routine can be started via the page NCB Upgrade, which can be found via the search.
The upgrade routine only needs to be started in one company and runs automatically across all companies in the database. Please note that the date format of the client (region settings) is used when converting the date filters.
The NCB Balance data is now prepared for the new version.
The last step is to publish the latest version of NCB Balance and install it using the Start-NAVAppDataUpgrade command.
The two apps "NCB Customization 14.0.0.0" and "NCB Customization 19.0.0.0" must then be uninstalled and unpublished. The same applies to the app "NCB Balance by NAVAX 14.0.0.0".