---
title: "Page 5126 Create Opportunity, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5126-create-opportunity/points/
object: https://jonas-paprotka.de/ref/page/5126-create-opportunity/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Page 5126 Create Opportunity, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5126-create-opportunity/points/

8 procedures and triggers with a step in src/Layers/W1/BaseApp/CRM/Opportunity/CreateOpportunity.Page.al, in source order, read from the text, not from a run.

## Wizard Contact Name.OnAssistEdit

[Line 50](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L50), trigger.

- [58](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L58) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Contact No.`

## Wizard Campaign Description.OnAssistEdit

[Line 86](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L86), trigger.

- [92](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L92) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Campaign No.`

## Segment Description.OnAssistEdit

[Line 106](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L106), trigger.

- [112](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L112) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Segment No.`

## FinishWizard.OnAction

[Line 173](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L173), trigger.

- [175](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L175) calls `FinishPage`

## Category_New.OnAfterGetRecord

[Line 193](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L193), trigger.

- [195](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L195) calls `WizardContactNameOnFormat`

## OnOpenPage

[Line 205](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L205), trigger.

- [207](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L207) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`

## OnQueryClosePage

[Line 210](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L210), trigger.

- [213](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L213) calls `FinishPage`

## FinishPage

[Line 258](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L258), local.

- [260](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L260) calls [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `CheckStatus`
- [261](https://jonas-paprotka.de/ref/page/5126-create-opportunity/source/#L261) calls [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `FinishWizard`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
