---
title: "Table 5093 Opportunity Entry, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/5093-opportunity-entry/points/
object: https://jonas-paprotka.de/ref/table/5093-opportunity-entry/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/5093-opportunity-entry/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/"
---

# Table 5093 Opportunity Entry, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/5093-opportunity-entry/points/

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

## OnInsert

[Line 255](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L255), trigger.

- [279](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L279) calls `TestCust`
- [300](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L300) raises `OnOnInsertOnBeforeModifyOpportunity`
- [302](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L302) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify

## GetLastEntryNo

[Line 340](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L340).

- [344](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L344) calls [Codeunit 703 Find Record Management](https://jonas-paprotka.de/ref/codeunit/703-find-record-management/) `GetLastEntryIntFieldValue`

## InsertEntry

[Line 347](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L347).

- [352](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L352) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `GetLastEntryNo`
- [359](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L359) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [365](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L365) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `CreateTask`
- [366](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L366) raises `OnInsertEntryOnBeforeInsert`
- [367](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L367) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Insert(true)
- [369](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L369) raises `OnAfterInsertEntry`

## UpdateEstimates

[Line 372](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L372).

- [381](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L381) raises `OnBeforeUpdateEstimates`, IsHandled
- [411](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L411) calls `GetSalesDocValue`
- [426](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L426) raises `OnUpdateEstimatesOnBeforeModifyOpportunityEntry`
- [427](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L427) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify

## CreateTask

[Line 430](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L430).

- [441](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L441) calls [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `CancelOpenTasks`
- [451](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L451) validates [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `Contact No.`
- [456](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L456) raises `OnCreateTaskOnBeforeInsertTask`
- [457](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L457) calls [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `InsertTask`

## GetSalesDocValue

[Line 464](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L464).

- [477](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L477) raises `OnBeforeGetSalesDocValue`, IsHandled
- [481](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L481) calls [Codeunit 80 Sales-Post](https://jonas-paprotka.de/ref/codeunit/80-sales-post/) `SumSalesLines`

## TestCust

[Line 487](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L487), local.

- [494](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L494) raises `OnBeforeTestCust`, IsHandled
- [508](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L508) calls [Table 5050 Contact](https://jonas-paprotka.de/ref/table/5050-contact/) `CreateCustomerFromTemplate`

## InitOpportunityEntry

[Line 511](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L511).

- [513](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L513) validates [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `Opportunity No.`
- [520](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L520) raises `OnAfterInitOpportunityEntry`

## CloseOppFromOpp

[Line 523](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L523).

- [528](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L528) raises `OnBeforeCloseOppFromOpp`, IsHandled
- [533](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L533) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) DeleteAll
- [535](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L535) validates [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `Opportunity No.`
- [543](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L543) raises `OnCloseOppFromOppOnBeforeStartWizard`, IsHandled
- [545](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L545) calls `StartWizard`

## StartWizard

[Line 548](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L548), local.

- [553](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L553) raises `OnBeforeStartWizard`, IsHandled
- [557](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L557) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Insert

## CheckStatus

[Line 561](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L561).

- [566](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L566) raises `OnBeforeCheckStatus`, IsHandled
- [573](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L573) calls `ErrorMessage`
- [575](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L575) calls `ErrorMessage`

## FinishWizard

[Line 581](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L581).

- [585](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L585) calls `UpdateEstimates`
- [587](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L587) raises `OnFinishWizardOnAfterUpdateEstimates`
- [588](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L588) calls `InsertEntry`
- [589](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L589) raises `OnFinishWizardOnAfterInsertEntry`
- [590](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L590) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Delete

## UpdateOppFromOpp

[Line 598](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L598).

- [603](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L603) raises `OnBeforeUpdateOppFromOpp`, IsHandled
- [608](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L608) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) DeleteAll
- [610](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L610) validates [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `Opportunity No.`
- [617](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L617) raises `OnUpdateOppFromOppOnBeforeStartWizard2`
- [618](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L618) calls `StartWizard2`

## StartWizard2

[Line 621](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L621), local.

- [626](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L626) calls `CreateStageList`
- [627](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L627) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Insert
- [630](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L630) raises `OnStartWizard2OnBeforeRunModalPage`, IsHandled
- [632](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L632) runs [Page 5129 Update Opportunity](https://jonas-paprotka.de/ref/page/5129-update-opportunity/)

## CheckStatus2

[Line 635](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L635).

- [640](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L640) raises `OnBeforeCheckStatus2`, IsHandled
- [651](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L651) calls `ErrorMessage`
- [653](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L653) calls `ValidateStage`
- [654](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L654) calls `CheckEstimatedValues`

## FinishWizard2

[Line 657](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L657).

- [667](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L667) calls `UpdateEstimates`
- [670](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L670) raises `OnFinishWizard2OnBeforeValidateSalesCycleStageDescription`, IsHandled
- [674](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L674) calls `InsertEntry`
- [675](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L675) raises `OnFinishWizard2OnAfterInsertEntry`
- [676](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L676) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Delete

## WizardActionTypeValidate2

[Line 679](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L679).

- [740](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L740) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify

## WizardSalesCycleStageValidate2

[Line 743](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L743).

- [750](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L750) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [756](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L756) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [759](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L759) calls `ValidateStage`

## CreateStageList

[Line 762](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L762).

- [768](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L768) raises `OnBeforeCreateStageList`, IsHandled
- [772](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L772) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [773](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L773) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [774](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L774) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [775](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L775) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [776](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L776) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [777](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L777) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) DeleteAll
- [798](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L798) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [807](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L807) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [819](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L819) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [832](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L832) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [842](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L842) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [852](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L852) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [862](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L862) writes [Table 5091 Sales Cycle Stage](https://jonas-paprotka.de/ref/table/5091-sales-cycle-stage/) Insert
- [869](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L869) calls `NoOfSalesCyclesFirst`
- [871](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L871) calls `NoOfSalesCyclesNext`
- [873](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L873) calls `NoOfSalesCyclesUpdate`
- [875](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L875) calls `NoOfSalesCyclesPrev`
- [877](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L877) calls `NoOfSalesCyclesSkip`
- [879](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L879) calls `NoOfSalesCyclesJump`

## TestQuote

[Line 884](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L884), local.

- [891](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L891) raises `OnBeforeTestQuote`, IsHandled

## ValidateStage

[Line 900](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L900).

- [910](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L910) calls `TestQuote`
- [918](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L918) calls `TestQuote`
- [925](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L925) raises `OnAfterValidateStage`

## ValidateSalesCycleStage

[Line 958](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L958).

- [960](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L960) raises `OnBeforeValidateSalesCycleStage`
- [969](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L969) calls `TestQuote`
- [977](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L977) calls `TestQuote`

## LookupSalesCycleStage

[Line 989](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L989).

- [1011](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L1011) validates [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `Sales Cycle Stage`

## CheckEstimatedValues

[Line 1014](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L1014), local.

- [1019](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L1019) raises `OnBeforeCheckEstimatedValues`, IsHandled
- [1028](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/source/#L1028) calls `ErrorMessage`

## Source

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

JOP-AL, 2026-11-20.
