---
title: "Page 5128 Close Opportunity, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5128-close-opportunity/points/
object: https://jonas-paprotka.de/ref/page/5128-close-opportunity/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5128-close-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 5128 Close Opportunity, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5128-close-opportunity/points/

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

## OptionWon.OnValidate

[Line 34](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L34), trigger.

- [39](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L39) calls `LostActionTakenOnValidate`
- [41](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L41) calls `WonActionTakenOnValidate`
- [57](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L57) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `UpdateEstimates`

## Finish.OnAction

[Line 117](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L117), trigger.

- [119](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L119) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `CheckStatus`
- [120](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L120) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `FinishWizard`

## SalesQuote.OnAction

[Line 133](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L133), trigger.

- [138](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L138) calls [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `ShowQuote`
- [140](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L140) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `GetSalesDocValue`

## OnOpenPage

[Line 171](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L171), trigger.

- [173](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L173) calls `UpdateEditable`
- [175](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L175) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`

## OnQueryClosePage

[Line 178](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L178), trigger.

- [181](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L181) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `CheckStatus`
- [182](https://jonas-paprotka.de/ref/page/5128-close-opportunity/source/#L182) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `FinishWizard`

## Source

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

JOP-AL, 2026-11-20.
