NavApp.LoadPackageData(Integer) Method

Version: Available or changed with runtime version 1.0.

Loads default, or starting, table data into the specified table of an extension during installation.

Syntax

 NavApp.LoadPackageData(TableNo: Integer)

Parameters

TableNo
 Type: Integer
The ID of the table for which to load package data.

Remarks

You use this method as part of the upgrade code for an extension, where it is called from the OnNavAppUpgradePerDatabase() or OnNavAppUpgradePerCompany() system methods. With the LOADPACKAGEDATA method, you can populate a new table in your extension with data to help users get started using your extension.

NavApp Data Type
Get Started with AL
Developing Extensions