---
id: object/codeunit/700
type: object
title: Codeunit 700 "Page Management"
summary: Codeunit 700 "Page Management" in Base Application (Microsoft.Utilities). 16 public procedures, 10 events. Present since at least BC23, still in BC30, changed in BC24-29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 70664297e99bd81368ff2adae90dadb4a56eb89e7710b85ea2af99a5f9108ea6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/PageManagement.Codeunit.al
    title: src/Layers/W1/BaseApp/Utilities/PageManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 700
name: Page Management
namespace: Microsoft.Utilities
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 44
  events: 10
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 9
  calls: 1
  called_by: 42
  implements: 0
---

# Codeunit 700 "Page Management"

> Codeunit 700 "Page Management" in Base Application (Microsoft.Utilities). 16 public procedures, 10 events. Present since at least BC23, still in BC30, changed in BC24-29.

Base Application · Microsoft.Utilities · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Utilities/PageManagement.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeGetConditionalListPageID(RecRef: RecordRef; var PageID: Integer; var IsHandled: Boolean; CheckDocumentTypeFilter: Boolean)` (integration)
  - subscribers: [Codeunit 20418 "Qlty. Utilities Integration"](../codeunit/20418.md) HandleOnBeforeGetConditionalListPageID, [Codeunit 6466 "Serv. Page Management"](../codeunit/6466.md) OnBeforeGetConditionalListPageID, [Codeunit 99000791 "Mfg. Page Management"](../codeunit/99000791.md) OnBeforeGetConditionalListPageID
- `OnBeforeGetConditionalCardPageID(RecRef: RecordRef; var CardPageID: Integer; var IsHandled: Boolean)` (integration)
  - subscribers: [Codeunit 20418 "Qlty. Utilities Integration"](../codeunit/20418.md) HandleOnBeforeGetConditionalCardPageID, [Codeunit 6995 "Exp. Preview Post. Subscriber"](../codeunit/6995.md) OnBeforeGetConditionalCardPageID
- `OnAfterGetPageID(var RecordRef: RecordRef; var PageID: Integer; ForceListPage: Boolean)` (integration)
- `OnBeforeGetDefaultLookupPageID(TableID: Integer; var PageID: Integer)` (integration)
- `OnBeforeGetDefaultLookupPageIDByVar(TableID: Integer; var PageID: Integer; RecRef: RecordRef)` (integration)
- `OnConditionalCardPageIDNotFound(RecordRef: RecordRef; var CardPageID: Integer)` (integration)
  - subscribers: [Codeunit 6280 "Sust. Workflow Event Handling"](../codeunit/6280.md) OnConditionalCardPageIDNotFound, [Codeunit 6466 "Serv. Page Management"](../codeunit/6466.md) OnConditionalCardPageIDNotFound, [Codeunit 99000791 "Mfg. Page Management"](../codeunit/99000791.md) OnConditionalCardPageIDNotFound
- `OnPageRunAtFieldOnBeforeRunPage(var RecordRef: RecordRef; var PageID: Integer; ForceListPage: Boolean)` (integration)
- `OnBeforeVerifyPageID(TableID: Integer; PageID: Integer; var Result: Boolean; var IsHandled: Boolean)` (integration)
- `OnGetItemJournalTemplatePageID(ItemJournalTemplate: Record "Item Journal Template"; RecordRef: RecordRef; var CardPageID: Integer)` (integration)
  - subscribers: [Codeunit 99000791 "Mfg. Page Management"](../codeunit/99000791.md) OnGetItemJournalTemplatePageID
- `OnGetReqWkshTemplatePageID(ReqWkshTemplate: Record "Req. Wksh. Template"; RecordRef: RecordRef; var CardPageID: Integer)` (integration)

## Procedures

- `PageRun(RecRelatedVariant: Variant): Boolean`
- `PageRunModal(RecRelatedVariant: Variant): Boolean`
- `PageRunAtField(RecRelatedVariant: Variant; FieldNumber: Integer; Modal: Boolean): Boolean`
- `PageRunList(RecRelatedVariant: Variant): Boolean`
- `PageRunListModal(RecRelatedVariant: Variant): Boolean`
- `PageRunListAtField(RecRelatedVariant: Variant; FieldNumber: Integer; Modal: Boolean): Boolean`
- `GetPageID(RecRelatedVariant: Variant): Integer`
- `GetListPageID(RecRelatedVariant: Variant): Integer`
- `GetDefaultCardPageID(TableID: Integer): Integer`
- `GetDefaultLookupPageID(TableID: Integer): Integer`
- `GetDefaultLookupPageIDByVar(RecRelatedVariant: Variant): Integer`
- `GetConditionalCardPageID(RecRef: RecordRef): Integer`
- `GetConditionalListPageID(RecRef: RecordRef): Integer`
- `GetConditionalListPageID(RecRef: RecordRef; CheckDocumentTypeFilter: Boolean): Integer`
- `GetWebUrl(var RecRef: RecordRef; PageID: Integer): Text`
- `GetPageCaption(PageID: Integer): Text`

Plus 18 local procedures.

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 701 "Data Type Management"](../codeunit/701.md) (1 call: `GetDefaultLookupPageIDByVar → GetRecordRef`)

## Called by

- [Page 344 "Navigate"](../page/344.md) (6 calls: `ShowPurchaseHeaderRecords → PageRun`, `ShowPurchaseHeaderRecords → PageRunList`, `ShowRecords → PageRun`, …)
- [Codeunit 5407 "Prod. Order Status Management"](../codeunit/5407.md) (2 calls: `TransferLinks → GetPageCaption`, `TransferLinks → GetPageID`)
- [Codeunit 6995 "Exp. Preview Post. Subscriber"](../codeunit/6995.md) (2 calls: `OnBeforeShowRecords → PageRun`, `OnBeforeShowRecords → PageRunList`)
- [Page 1638 "Booking Items"](../page/1638.md) (2 calls: `OutputAction → GetConditionalCardPageID`, `OutputAction → GetConditionalListPageID`)
- [Table 112 "Sales Invoice Header"](../table/112.md) (2 calls: `ShowCancelledCreditMemo → PageRun`, `ShowCorrectiveCreditMemo → PageRun`)
- [Table 454 "Approval Entry"](../table/454.md) (2 calls: `RecordCaption → GetPageID`, `ShowRecord → PageRun`)
- [Table 5065 "Interaction Log Entry"](../table/5065.md) (2 calls: `ShowDocument → PageRun`, `ShowDocument → PageRunList`)
- [Codeunit 1303 "Correct Posted Sales Invoice"](../codeunit/1303.md) (1 call: `CreateCreditMemo → PageRun`)
- [Codeunit 1323 "Cancel PstdSalesInv (Yes/No)"](../codeunit/1323.md) (1 call: `CancelInvoice → PageRun`)
- [Codeunit 1334 "Cancel PstdSalesCrM (Yes/No)"](../codeunit/1334.md) (1 call: `CancelCrMemo → PageRun`)
- [Codeunit 1339 "Cancel Posted Sales Cr. Memo"](../codeunit/1339.md) (1 call: `CancelPostedCrMemo → PageRun`)
- [Codeunit 1367 "Monitor Sensitive Field Data"](../codeunit/1367.md) (1 call: `OpenChangedRecordPage → PageRunAtField`)
- [Codeunit 1509 "Notification Entry Dispatcher"](../codeunit/1509.md) (1 call: `AddNote → GetPageID`)
- [Codeunit 1637 "Office Document Handler"](../codeunit/1637.md) (1 call: `OpenIndividualSalesDocument → PageRun`)
- [Codeunit 20435 "Qlty. Document Navigation"](../codeunit/20435.md) (1 call: `NavigateToSourceDocument → GetPageID`)
- [Codeunit 20437 "Qlty. Notification Mgmt."](../codeunit/20437.md) (1 call: `HandleOpenDocument → GetPageID`)
- [Codeunit 481 "Check Dimensions"](../codeunit/481.md) (1 call: `OnOpenRelatedRecord → PageRun`)
- [Codeunit 5330 "CRM Integration Management"](../codeunit/5330.md) (1 call: `OpenRecordCardPage → PageRun`)
- [Codeunit 5342 "CRM Synch. Helper"](../codeunit/5342.md) (1 call: `ShowPage → PageRun`)
- [Codeunit 5922 "Serv-Quote to Order (Yes/No)"](../codeunit/5922.md) (1 call: `ShowCreatedOrder → PageRun`)
- [Codeunit 6471 "Serv. VAT Rate Change Conv."](../codeunit/6471.md) (1 call: `OnAfterShow → PageRunModal`)
- [Codeunit 7237 "Master Data Mgt. Subscribers"](../codeunit/7237.md) (1 call: `OnOpenSourceRecord → PageRun`)
- [Codeunit 8898 "Map Email Source"](../codeunit/8898.md) (1 call: `OnGetPageForSourceRecord → PageRun`)
- [Page 143 "Posted Sales Invoices"](../page/143.md) (1 call: `DoDrillDown → PageRun`)
- [Page 144 "Posted Sales Credit Memos"](../page/144.md) (1 call: `DoDrillDown → PageRun`)
- [Page 30443 "Approval Entry Overview"](../page/30443.md) (1 call: `GetDefaultLookupPageID → GetDefaultLookupPageID`)
- [Page 43 "Sales Invoice"](../page/43.md) (1 call: `PostDocument → PageRun`)
- [Page 44 "Sales Credit Memo"](../page/44.md) (1 call: `PostDocument → PageRun`)
- [Page 5851 "Get Post.Doc - S.ShptLn Sbfrm"](../page/5851.md) (1 call: `ShowPostedShipment → PageRun`)
- [Page 5852 "Get Post.Doc - S.InvLn Subform"](../page/5852.md) (1 call: `ShowDocument → PageRun`)
- [Page 5853 "Get Pst.Doc-RtrnRcptLn Subform"](../page/5853.md) (1 call: `ShowDocument → PageRun`)
- [Page 5854 "Get Post.Doc-S.Cr.MemoLn Sbfrm"](../page/5854.md) (1 call: `ShowDocument → PageRun`)
- [Report 1320 "Notification Email"](../report/1320.md) (1 call: `SetReportFieldPlaceholders → GetWebUrl`)
- [Table 130 "Incoming Document"](../table/130.md) (1 call: `ShowRecord → PageRun`)
- [Table 1550 "Restricted Record"](../table/1550.md) (1 call: `ShowRecord → PageRun`)
- [Table 1572 "Approval Entry Buffer"](../table/1572.md) (1 call: `ShowRecord → PageRun`)
- [Table 1606 "Office Invoice"](../table/1606.md) (1 call: `ShowInvoice → PageRun`)
- [Table 21 "Cust. Ledger Entry"](../table/21.md) (1 call: `ShowDoc → PageRun`)
- [Table 456 "Posted Approval Entry"](../table/456.md) (1 call: `ShowRecord → PageRun`)
- [Table 458 "Overdue Approval Entry"](../table/458.md) (1 call: `ShowRecord → PageRun`)
- [Table 467 "Workflow Webhook Entry"](../table/467.md) (1 call: `ShowRecord → PageRun`)
- [Table extension 705 "Error Message Extension"](../tableextension/705.md) (1 call: `HandleDrillDown → PageRunAtField`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Page Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
