---
title: "Page 5077 Create Interaction, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5077-create-interaction/points/
object: https://jonas-paprotka.de/ref/page/5077-create-interaction/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5077-create-interaction/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 5077 Create Interaction, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5077-create-interaction/points/

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

## Wizard Contact Name.OnLookup

[Line 56](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L56), trigger.

- [63](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L63) calls `SetContactNo`

## Wizard Contact Name.OnValidate

[Line 67](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L67), trigger.

- [83](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L83) calls `SetContactNo`

## Interaction Template Code.OnValidate

[Line 93](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L93), trigger.

- [96](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L96) calls `UpdateUIFlags`
- [102](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L102) calls `AttachmentReload`

## Language Code.OnLookup

[Line 147](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L147), trigger.

- [149](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L149) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `LanguageCodeOnLookup`
- [151](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L151) calls `AttachmentReload`

## Language Code.OnValidate

[Line 154](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L154), trigger.

- [157](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L157) calls `AttachmentReload`

## Correspondence Type.OnValidate

[Line 180](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L180), trigger.

- [182](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L182) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `ValidateCorrespondenceType`

## HTMLContentBodyText.OnValidate

[Line 250](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L250), trigger.

- [252](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L252) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `UpdateContentBodyTextInCustomLayoutAttachment`

## Campaign Description.OnAssistEdit

[Line 285](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L285), trigger.

- [292](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L292) validates [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `Campaign No.`

## Opportunity Description.OnAssistEdit

[Line 322](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L322), trigger.

- [326](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L326) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `FilterContactCompanyOpportunities`
- [328](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L328) validates [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `Opportunity No.`

## Preview.OnAction

[Line 438](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L438), trigger.

- [440](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L440) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `PreviewSegLineHTMLContent`

## Finish.OnAction

[Line 451](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L451), trigger.

- [453](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L453) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `FinishSegLineWizard`

## CancelInteraction.OnAction

[Line 465](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L465), trigger.

- [467](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L467) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `FinishSegLineWizard`

## NextInteraction.OnAction

[Line 499](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L499), trigger.

- [502](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L502) calls `ProcessStep`

## FinishInteraction.OnAction

[Line 514](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L514), trigger.

- [516](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L516) calls `ProcessStep`

## Co&mments.OnAction

[Line 530](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L530), trigger.

- [532](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L532) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `ShowComment`

## OnInit

[Line 538](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L538), trigger.

- [543](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L543) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`

## OnOpenPage

[Line 546](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L546), trigger.

- [550](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L550) calls `SetContactEditable`
- [551](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L551) calls `UpdateUIFlags`
- [556](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L556) calls `AttachmentReload`

## Caption

[Line 594](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L594).

- [613](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L613) raises `OnAfterCaption`

## AttachmentReload

[Line 622](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L622).

- [624](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L624) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `LoadSegLineAttachment`
- [625](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L625) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `IsHTMLAttachment`
- [627](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L627) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `LoadContentBodyTextFromCustomLayoutAttachment`

## SetContactNo

[Line 630](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L630), local.

- [632](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L632) validates [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `Contact No.`

## SetContactEditable

[Line 636](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L636), local.

- [640](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L640) raises `OnAfterSetContactEditable`

## ProcessStep

[Line 643](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L643), local.

- [648](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L648) calls `ValidateStep1`
- [657](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L657) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `HandleTrigger`
- [662](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L662) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `FinishSegLineWizard`
- [663](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L663) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `GetInteractionLogEntryNo`
- [664](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L664) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `GetInteractionLogEntryNo`
- [670](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L670) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `ProcessInterLogEntryComments`
- [671](https://jonas-paprotka.de/ref/page/5077-create-interaction/source/#L671) writes [Table 5065 Interaction Log Entry](https://jonas-paprotka.de/ref/table/5065-interaction-log-entry/) Modify

## Source

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

JOP-AL, 2026-11-20.
