{"title":"Resolving Codeunit 700 compilation error","url":"https://jonas-paprotka.de/docs/dev-itpro/upgrade/resolve-cu-700-error-converting-database/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/resolve-cu-700-error-converting-database","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Explains how to resolve the compilation error that you get for Codeunit 700 when converting a database from Dynamics NAV to Business Central.","date":"2024-04-18","meta":{"topic":"concept-article"},"outline":[{"level":1,"title":"Resolving Codeunit 700 compilation error","slug":"resolving-codeunit-700-compilation-error","at":0,"chars":666},{"level":2,"title":"Resolution","slug":"resolution","at":224,"chars":257},{"level":2,"title":"Related information","slug":"related-information","at":481,"chars":185}],"text":"# Resolving Codeunit 700 compilation error\nThis 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.\n## Resolution\nIn VerifyPageID function, replace the following code:\n```\nEXIT(PageMetadata.GET(PageID) AND (PageMetadata.EntitySetName = TableID));\n```\nWith the following code:\n```\nEXIT(PageMetadata.GET(PageID) AND (PageMetadata.SourceTable = TableID));\n```\n## Related information\nconverting-a-database\nResolving Compilation Errors When Converting a Dynamics NAV 2018 Database<resolve-compile-errors-when-converting-dynamics-nav-2018-database>"}