Condividi tramite


LOADPACKAGEDATA Function

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

Syntax

LOADPACKAGEDATA (TableNo)  

Parameters

TableNo
Type: Integer

Specifies the ID of the extension table that you want to add data to.

Remarks

You use this function as part of the upgrade code for an extension, where it is called from the OnNavAppUpgradePerDatabase() or OnNavAppUpgradePerCompany() system functions. With the LOADPACKAGEDATA function, you can populate a new table in your extension with data to help users get started using your extension. For more information, see Extending Microsoft Dynamics NAV Using Extension Packages.

See Also

Extending Microsoft Dynamics NAV Using Extension Packages
How to: Develop an Extension