IMPORTDATA Function (Database)
Imports data from a file that has been exported from a Microsoft Dynamics NAV database.
For an example of how to use this function, see page 9900, Import Data, in the CRONUS International Ltd. demonstration database.
[Ok:=] IMPORTDATA(ShowDialog, FileName[, IncludeApplicationData][, IncludeGlobalData][, CompanyRecord])
Type: Boolean Specifies if you want to display a dialog box where the user can confirm the action.
Type: Text Specifies the name and location of the file that must be imported. The file must have been exported from a Microsoft Dynamics NAV database.
Type: Variable Specifies if you want to import the data that defines the application in the database. This includes the permissions, permission sets, profiles, and style sheets. Create a variable of type Boolean to specify this parameter.
To import application objects, you must use the Import-NAVData Windows PowerShell cmdlet. For more information, see Exporting and Importing Companies and Other Data.
Type: Variable Specifies if you want to import global, non-company specific data. Create a variable of type Boolean to specify this parameter.
Type: Record Specifies the company or companies that must be imported.