# 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));
```
## Related information
converting-a-database
Resolving Compilation Errors When Converting a Dynamics NAV 2018 Database<resolve-compile-errors-when-converting-dynamics-nav-2018-database>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/resolve-cu-700-error-converting-database, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/upgrade/resolve-cu-700-error-converting-database/
