Partager via


Resolving Compilation Errors When Converting a Dynamics NAV 2016 Database

When you convert a Microsoft Dynamics NAV 2016 database to a newer Dynamics NAV 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 and build the server application objects during the database conversion, with a link to a solution for fixing the problem.

Object Type Object ID Object Name Function/Trigger Error Message Solution
Table 5330 CRM Connection Setup CreateOrganizationService You have specified an unknown variable. CrmServiceClient Define the variable under 'Global C/AL symbols'. See Resolving Table 5330 CRM Connection Setup Error.
Codeunit 824 DO Encryption Mgt. Encrypt You have specified an unknown variable. KeyExists Define the variable under 'Global C/AL symbols'. See Resolving Dynamics Online Payment Service Errors.
Codeunit 825 DO Payment Mgt. - - See Resolving Dynamics Online Payment Service Errors.
Codeunit 826 DO Payment Integration Mgt. RefreshTransactionStatus You have specified an unknown variable. Payment Define the variable under 'Global C/AL symbols'. See Resolving Dynamics Online Payment Service Errors.
Codeunit 827 DO Payment Card Validation - - See Resolving Dynamics Online Payment Service Errors.
Codeunit 829 DO Payment Trans. Log Mgt. CompleteTransLogEntry You have specified an unknown variable. IsSuccess Define the variable under 'Global C/AL symbols'. See Resolving Dynamics Online Payment Service Errors.
Codeunit 1410 Doc. Exch. Service Mgt. Initialize You have specified an unknown variable. Consumer Define the variable under 'Global C/AL symbols'. See Resolving Codeunit 1410 Doc. Exch. Service Mgt. Error.
Codeunit 130400 CAL Test Runner OnBeforeTestRun The OnBeforeTestRun trigger signature is not valid. See Resolving OnBeforeTestRun and OnAfterTestRun Trigger Errors.
Codeunit 130400 CAL Test Runner OnAfterTestRun The OnAfterTestRun trigger signature is not valid. See Resolving OnBeforeTestRun and OnAfterTestRun Trigger Errors.
Codeunit 130402 CAL Test Runner OnBeforeTestRun The OnBeforeTestRun trigger signature is not valid. See Resolving OnBeforeTestRun and OnAfterTestRun Trigger Errors.
Codeunit 130402 CAL Command Line Test Runner OnAfterTestRun The OnAfterTestRun trigger signature is not valid. See Resolving OnBeforeTestRun and OnAfterTestRun Trigger Errors.

See Also

Converting a Database