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

# Table 5092 Opportunity, extension points 29

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

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

## No..OnValidate

[Line 39](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L39), trigger.

- [43](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L43) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `TestManual`

## Salesperson Code.OnValidate

[Line 59](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L59), trigger.

- [89](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L89) calls [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `GetMeetingOrganizerTask`
- [91](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L91) validates [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `Salesperson Code`
- [92](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L92) writes [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) Modify
- [100](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L100) validates [Table 5199 Attendee](https://jonas-paprotka.de/ref/table/5199-attendee/) `Attendee No.`
- [101](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L101) writes [Table 5199 Attendee](https://jonas-paprotka.de/ref/table/5199-attendee/) Modify(true)
- [105](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L105) validates [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `Salesperson Code`
- [106](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L106) writes [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) Modify(true)
- [119](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L119) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [122](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L122) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify

## Campaign No..OnLookup

[Line 132](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L132), trigger.

- [134](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L134) calls `LookupCampaigns`

## Campaign No..OnValidate

[Line 137](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L137), trigger.

- [145](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L145) calls `CheckCampaign`
- [146](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L146) calls `SetDefaultSegmentNo`
- [156](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L156) writes [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) Modify
- [166](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L166) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [169](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L169) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify

## Contact No..OnLookup

[Line 179](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L179), trigger.

- [187](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L187) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Contact No.`

## Contact No..OnValidate

[Line 191](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L191), trigger.

- [205](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L205) raises `OnBeforeValidateContactNo`, IsHandled
- [225](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L225) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify
- [226](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L226) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetHideValidationDialog`
- [227](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L227) validates [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `Sell-to Contact No.`
- [228](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L228) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify
- [246](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L246) calls [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `GetMeetingOrganizerTask`
- [247](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L247) validates [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `Contact No.`
- [248](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L248) writes [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) Modify
- [254](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L254) validates [Table 5199 Attendee](https://jonas-paprotka.de/ref/table/5199-attendee/) `Attendee No.`
- [255](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L255) writes [Table 5199 Attendee](https://jonas-paprotka.de/ref/table/5199-attendee/) Modify(true)
- [258](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L258) validates [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) `Contact No.`
- [259](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L259) writes [Table 5080 To-do](https://jonas-paprotka.de/ref/table/5080-to-do/) Modify(true)
- [271](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L271) validates [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `Contact No.`
- [272](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L272) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) Modify
- [275](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L275) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify

## Sales Document No..OnValidate

[Line 314](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L314), trigger.

- [324](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L324) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify
- [339](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L339) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify
- [344](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L344) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify

## Segment No..OnLookup

[Line 492](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L492), trigger.

- [494](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L494) calls `LookupSegments`

## Segment No..OnValidate

[Line 497](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L497), trigger.

- [502](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L502) calls `CheckSegmentCampaignNo`
- [505](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L505) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Segment Description`

## Sales Document Type.OnValidate

[Line 522](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L522), trigger.

- [527](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L527) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Sales Document No.`

## OnDelete

[Line 641](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L641), trigger.

- [650](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L650) writes [Table 5061 Rlshp. Mgt. Comment Line](https://jonas-paprotka.de/ref/table/5061-rlshp-mgt-comment-line/) DeleteAll
- [654](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L654) writes [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) DeleteAll

## OnInsert

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

- [662](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L662) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `AreRelated`
- [666](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L666) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [670](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L670) calls `SetDefaultSalesperson`

## CreateFromInteractionLogEntry

[Line 722](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L722).

- [734](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L734) calls `SetDefaultSalesCycle`
- [735](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L735) raises `OnCreateFromCreateFromInteractionLogEntryOnBeforeInsert`
- [736](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L736) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert(true)
- [737](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L737) calls `CopyCommentLinesFromIntLogEntry`

## CreateFromSegmentLine

[Line 740](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L740).

- [752](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L752) calls `SetDefaultSalesCycle`
- [753](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L753) raises `OnCreateFromSegmentLineOnBeforeInsert`
- [754](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L754) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert(true)

## CreateOppFromOpp

[Line 757](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L757).

- [767](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L767) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) DeleteAll
- [770](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L770) raises `OnCreateOppFromOppOnAfterInit`
- [773](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L773) calls `SetDefaultSalesCycle`
- [775](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L775) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Contact No.`
- [780](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L780) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Contact No.`
- [785](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L785) raises `OnCreateOppFromOppOnBeforeSetFilterSalesPersonCode`, IsHandled
- [806](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L806) calls `StartWizard`

## InsertOpportunity

[Line 809](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L809), local.

- [833](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L833) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert(true)
- [834](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L834) calls `CreateCommentLines`
- [835](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L835) calls `ProcessFirstStage`
- [838](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L838) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert(true)
- [839](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L839) calls `CreateCommentLines`
- [840](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L840) calls `ProcessFirstStage`
- [843](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L843) raises `OnAfterInsertOpportunity`

## ProcessFirstStage

[Line 846](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L846), local.

- [850](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L850) raises `OnBeforeProcessFirstStage`
- [855](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L855) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `InitOpportunityEntry`
- [856](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L856) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `InsertEntry`
- [857](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L857) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `UpdateEstimates`
- [860](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L860) raises `OnAfterProcessFirstStage`

## UpdateOpportunity

[Line 863](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L863).

- [867](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L867) raises `OnBeforeUpdateOpportunity`
- [869](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L869) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `UpdateOppFromOpp`

## CloseOpportunity

[Line 872](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L872).

- [877](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L877) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `CloseOppFromOpp`

## CreateQuote

[Line 880](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L880).

- [899](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L899) calls `GetNewCustomerTemplateCode`
- [907](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L907) raises `OnCreateQuoteOnBeforeSalesHeaderInsert`
- [908](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L908) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)
- [909](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L909) raises `OnCreateQuoteOnAfterSalesHeaderInsert`
- [910](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L910) validates [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `Salesperson Code`
- [911](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L911) validates [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `Campaign No.`
- [913](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L913) calls `GetEstimatedClosingDate`
- [916](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L916) validates [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `Sell-to Customer Templ. Code`
- [917](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L917) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify
- [920](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L920) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Modify
- [922](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L922) raises `OnCreateQuoteOnBeforePageRun`
- [923](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L923) calls `RunQuotePage`

## GetNewCustomerTemplateCode

[Line 926](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L926), local.

- [933](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L933) raises `OnBeforeGetNewCustomerTemplateCode`, IsHandled
- [938](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L938) calls [Table 5050 Contact](https://jonas-paprotka.de/ref/table/5050-contact/) `ChooseNewCustomerTemplate`
- [940](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L940) calls [Table 5050 Contact](https://jonas-paprotka.de/ref/table/5050-contact/) `CreateCustomerFromTemplate`
- [943](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L943) calls [Codeunit 1381 Customer Templ. Mgt.](https://jonas-paprotka.de/ref/codeunit/1381-customer-templ-mgt/) `SelectCustomerTemplate`

## ShowQuote

[Line 959](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L959).

- [964](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L964) calls `RunQuotePage`

## CreateCommentLines

[Line 967](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L967), local.

- [974](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L974) writes [Table 5061 Rlshp. Mgt. Comment Line](https://jonas-paprotka.de/ref/table/5061-rlshp-mgt-comment-line/) Insert

## CopyCommentLinesFromIntLogEntry

[Line 978](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L978), local.

- [994](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L994) writes [Table 5061 Rlshp. Mgt. Comment Line](https://jonas-paprotka.de/ref/table/5061-rlshp-mgt-comment-line/) Insert

## StartWizard

[Line 998](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L998), local.

- [1017](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1017) raises `OnStartWizardBeforeInsert`
- [1018](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1018) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert
- [1019](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1019) calls `RunPageForRec`

## RunPageForRec

[Line 1023](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1023), local.

- [1025](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1025) raises `OnBeforeRunPageForRec`

## CheckStatus

[Line 1029](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1029).

- [1035](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1035) raises `OnBeforeCheckStatus`, IsHandled
- [1040](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1040) calls `ErrorMessage`
- [1042](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1042) calls `ErrorMessage`
- [1048](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1048) calls `ErrorMessage`
- [1050](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1050) calls `ErrorMessage`
- [1058](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1058) calls `ErrorMessage`

## FinishWizard

[Line 1064](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1064).

- [1068](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1068) raises `OnBeforeFinishWizard`
- [1083](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1083) raises `OnFinishWizardOnBeforeInsertOpportunity`
- [1084](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1084) calls `InsertOpportunity`
- [1085](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1085) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Delete
- [1087](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1087) raises `OnAfterFinishWizard`

## SetComments

[Line 1095](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1095).

- [1097](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1097) writes [Table 5061 Rlshp. Mgt. Comment Line](https://jonas-paprotka.de/ref/table/5061-rlshp-mgt-comment-line/) DeleteAll
- [1102](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1102) writes [Table 5061 Rlshp. Mgt. Comment Line](https://jonas-paprotka.de/ref/table/5061-rlshp-mgt-comment-line/) Insert

## ShowSalesQuoteWithCheck

[Line 1106](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1106).

- [1117](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1117) calls `RunQuotePage`

## SetSegmentFromFilter

[Line 1120](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1120).

- [1124](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1124) calls `GetFilterSegmentNo`
- [1127](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1127) calls `GetFilterSegmentNo`
- [1131](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1131) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Segment No.`

## SetContactFromFilter

[Line 1141](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1141).

- [1145](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1145) calls `GetFilterContactNo`
- [1148](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1148) calls `GetFilterContactNo`
- [1152](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1152) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Contact No.`

## StartActivateFirstStage

[Line 1165](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1165).

- [1171](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1171) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponse`
- [1175](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1175) raises `OnStartActivateFirstStageOnBeforeSalesCycleStageFind`
- [1180](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1180) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `InitOpportunityEntry`
- [1181](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1181) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `InsertEntry`
- [1182](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1182) calls [Table 5093 Opportunity Entry](https://jonas-paprotka.de/ref/table/5093-opportunity-entry/) `UpdateEstimates`
- [1186](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1186) raises `OnAfterStartActivateFirstStage`

## SetDefaultSalesperson

[Line 1200](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1200), local.

- [1208](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1208) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Salesperson Code`

## RunQuotePage

[Line 1211](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1211), local.

- [1216](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1216) raises `OnBeforeRunQuotePage`, IsHandled
- [1221](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1221) runs [Page 41 Sales Quote](https://jonas-paprotka.de/ref/page/41-sales-quote/)
- [1223](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1223) runs [Page 41 Sales Quote](https://jonas-paprotka.de/ref/page/41-sales-quote/)

## LookupCampaigns

[Line 1226](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1226), local.

- [1235](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1235) raises `OnLookupCampaignsOnAfterSetFilters`
- [1238](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1238) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Campaign No.`

## LookupSegments

[Line 1243](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1243), local.

- [1250](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1250) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Segment No.`

## CheckCampaign

[Line 1253](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1253), local.

- [1259](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1259) raises `OnBeforeCheckCampaign`, IsHandled

## SetCampaignFromFilter

[Line 1293](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1293).

- [1297](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1297) calls `GetFilterCampaignNo`
- [1300](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1300) calls `GetFilterCampaignNo`
- [1304](https://jonas-paprotka.de/ref/table/5092-opportunity/source/#L1304) validates [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) `Campaign No.`

## Source

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

JOP-AL, 2026-11-20.
