Resolving Codeunit 700 compilation error

This article explains how to resolve the compilation error that you get for codeunit 700 Page Management when converting a Microsoft Dynamics NAV 2018 database to Business Central.

Resolution

In VerifyPageID function, replace the following code:

EXIT(PageMetadata.GET(PageID) AND (PageMetadata.EntitySetName = TableID));

With the following code:

EXIT(PageMetadata.GET(PageID) AND (PageMetadata.SourceTable = TableID));

See also

Converting a Database
Resolving Compilation Errors When Converting a Dynamics NAV 2018 Database