Resolving Compilation Errors When Converting a Dynamics NAV 2018 Database

When you convert a Microsoft Dynamics NAV 2018 database to a Business Central version, you will receive compilation errors in several standard Dynamics NAV objects. This article describes how to resolve these errors.

Compilation Errors

The following table lists the compilation errors that might occur when you compile objects during the database conversion.

Object TypeObject IDObject NameFunction/TriggerError MessageSolution
Table5330CRM Connection SetupCreateOrganizationServiceYou have specified an unknown variable. CrmServiceClient Define the variable under 'Global C/AL symbols'.If the application integrates with Dynamics 365 Sales, then to resolve this error, you must perform a full upgrade (application code and data). For more information, see Important Information and Considerations for Before Upgrading. If not integrating with Dynamics 365 Sales, you can ignore this error.
Table8620Config. Tmpl. Selection RulesOnValidateType conversion is not possible because 1 of the operators contains an invalid type. Integer := TextResolving Table 8620 Compilation Error
Codeunit700Page ManagementVerifyPageIDType conversion is not possible because 1 of the operators contains an invalid type. Text = IntegerResolving Codeunit 700 Compilation Error
Codeunit5330CRM Integration ManagementImportCRMSolutionYou have specified an unknown variable. ServiceManagement Define the variable under 'Global C/AL symbols'.If the application integrates with Dynamics 365 Sales, then to resolve this error, you must perform a full upgrade (application code and data). For more information, see Important Information and Considerations for Before Upgrading. If not integrating with Dynamics 365 Sales, you can ignore this error.
Codeunit9010Azure AD User ManagementCreateNewUsersFromAzureADYou have specified an unknown variable. GetUsersPage Define the variable under 'Global C/AL symbols'.Resolving Codeunit 9010 Compilation Error.
Page2500Extension ManagementOnActionThere is no overload for method 'GenerateDesignerPackageZipStream' that takes '2' arguments.Resolving Page 2500 Compilation Error
Page6400Flow SelectorFlowAddin::ControlAddInReadyWhen the function is called, the minimum number of parameters should be used. For example: MyFunc( .. , .. , .. )Resolving Page 6400 and 6410 Compilation Errors.
Page6401Flow Template SelectorFlowAddin::ControlAddInReadyWhen the function is called, the minimum number of parameters should be used. For example: MyFunc( .. , .. , .. )Resolving Page 6400 and 6410 Compilation Errors.
Page9624Finish Design List PartGetTaskDisplayNameYou have specified an unknown variable. Display Name Define the variable under 'Global C/AL symbols'.See Resolving Page 9624 Compilation Error.
Table1670Option Lookup BufferFillBufferInternal'SETPERMISSIONFILTER' is obsolete for Microsoft Dynamics NAV Server.This warning and can be ignored.
Codeunit1751Data Classification Eval. DataClassifySessionThe 'Record2000000009' type is obsolete.This warning and can be ignored or to clear it, remove the procedure LOCAL PROCEDURE ClassifySession@72(); and the reference to it.