---
title: "Codeunit 700 Page Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/700-page-management/
type: codeunit
id: 700
name: "Page Management"
app: "Base Application"
namespace: Microsoft.Utilities
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/700-page-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 700 Page Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/700-page-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Utilities |
| Versions | 17-28 |
| Source file | Utilities/PageManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PageRun | (Variant) | Boolean | public | 17-28 | - | - |
| PageRunModal | (Variant) | Boolean | public | 17-28 | - | - |
| PageRunAtField | (Variant, Integer, Boolean) | Boolean | public | 17-28 | - | - |
| GetPageID | (Variant) | Integer | public | 17-28 | - | - |
| GetDefaultCardPageID | (Integer) | Integer | public | 17-28 | - | - |
| GetDefaultLookupPageID | (Integer) | Integer | public | 17-28 | - | - |
| GetDefaultLookupPageIDByVar | (Variant) | Integer | public | 17-28 | - | - |
| GetConditionalCardPageID | (RecordRef) | Integer | public | 17-28 | - | - |
| GetConditionalListPageID | (RecordRef) | Integer | public | 17-28 | - | - |
| GetWebUrl | (var RecordRef, Integer) | Text | public | 17-28 | - | - |
| GetPageCaption | (Integer) | Text | public | 17-28 | - | - |
| RunOnAfterGetServiceHeaderPageID | (RecordRef, Record Service Header, var Integer) | - | internal | 25-27 | - | - |
| PageRunList | (Variant) | Boolean | public | 27-28 | - | - |
| PageRunListModal | (Variant) | Boolean | public | 27-28 | - | - |
| PageRunListAtField | (Variant, Integer, Boolean) | Boolean | public | 27-28 | - | - |
| GetListPageID | (Variant) | Integer | public | 27-28 | - | - |
| GetConditionalListPageID | (RecordRef, Boolean) | Integer | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeGetConditionalListPageID | (RecordRef, var Integer, var Boolean) | 17-26 | - | - |
| Integration event | OnBeforeGetConditionalCardPageID | (RecordRef, var Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterGetPageID | (RecordRef, var Integer) | 17-20 | - | - |
| Integration event | OnBeforeGetDefaultLookupPageID | (Integer, var Integer) | 17-28 | - | - |
| Integration event | OnBeforeGetDefaultLookupPageIDByVar | (Integer, var Integer, RecordRef) | 17-28 | - | - |
| Integration event | OnConditionalCardPageIDNotFound | (RecordRef, var Integer) | 17-28 | - | - |
| Integration event | OnAfterGetPageID | (var RecordRef, var Integer) | 21-26 | - | - |
| Integration event | OnAfterGetPurchaseHeaderPageID | (RecordRef, Record Purchase Header, var Integer) | 21-28 | Pending 26.0 | Use OnBeforeGetConditionalCardPageID instead and check the RecRef points to "Purchase Header". |
| Integration event | OnAfterGetServiceHeaderPageID | (RecordRef, Record Service Header, var Integer) | 21-27 | Pending 25.0 | Replaced by same procedure in codeunit Serv. Page Management |
| Integration event | OnPageRunAtFieldOnBeforeRunPage | (var RecordRef, var Integer) | 21-26 | - | - |
| Integration event | OnBeforeVerifyPageID | (Integer, Integer, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterGetSalesHeaderPageID | (RecordRef, Record Sales Header, var Integer) | 24-28 | Pending 26.0 | Use OnBeforeGetConditionalCardPageID instead and check the RecRef points to "Sales Header". |
| Integration event | OnBeforeGetConditionalListPageID | (RecordRef, var Integer, var Boolean, Boolean) | 27-28 | - | - |
| Integration event | OnAfterGetPageID | (var RecordRef, var Integer, Boolean) | 27-28 | - | - |
| Integration event | OnPageRunAtFieldOnBeforeRunPage | (var RecordRef, var Integer, Boolean) | 27-28 | - | - |
| Integration event | OnGetItemJournalTemplatePageID | (Record Item Journal Template, RecordRef, var Integer) | 28 | - | - |
| Integration event | OnGetReqWkshTemplatePageID | (Record Req. Wksh. Template, RecordRef, var Integer) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
