---
title: "Codeunit 783 Relationship Performance Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/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/"
---

# Codeunit 783 Relationship Performance Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/points/

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

## CalcTopFiveOpportunities

[Line 24](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L24), local.

- [30](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L30) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) DeleteAll
- [35](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L35) raises `OnCalcTopFiveOpportunitiesOnAfterOpportunitySetFilters`
- [40](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L40) raises `OnCalcTopFiveOpportunitiesOnBeforeTempOpportunityInsert`
- [41](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L41) writes [Table 5092 Opportunity](https://jonas-paprotka.de/ref/table/5092-opportunity/) Insert

## DrillDown

[Line 45](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L45).

- [52](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L52) runs [Page 5123 Opportunity List](https://jonas-paprotka.de/ref/page/5123-opportunity-list/)

## UpdateData

[Line 57](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L57).

- [61](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L61) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `Initialize`
- [62](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L62) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddDecimalMeasure`
- [63](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L63) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetXAxis`
- [64](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L64) calls `CalcTopFiveOpportunities`
- [66](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L66) raises `OnUpdateDataOnAfterTempOpportunitySetFilters`
- [70](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L70) calls `AddBusinessChartBufferColumn`
- [71](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L71) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `SetValueByIndex`

## AddBusinessChartBufferColumn

[Line 75](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L75), local.

- [80](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L80) raises `OnBeforeAddBusinessChartBufferColumn`, IsHandled
- [84](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L84) calls [Table 485 Business Chart Buffer](https://jonas-paprotka.de/ref/table/485-business-chart-buffer/) `AddColumn`

## SendCreateOpportunityNotification

[Line 87](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L87).

- [98](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L98) calls `GetSegmentLineNotificationDataItemID`
- [98](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L98) calls `RecordsToXml`

## CreateOpportunityFromSegmentLineNotification

[Line 106](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L106).

- [112](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L112) writes [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) Insert
- [113](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L113) calls `XmlToRecords`
- [114](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L114) calls `GetSegmentLineNotificationDataItemID`
- [115](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L115) calls [Table 5077 Segment Line](https://jonas-paprotka.de/ref/table/5077-segment-line/) `CreateOpportunity`
- [116](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L116) writes [Table 5065 Interaction Log Entry](https://jonas-paprotka.de/ref/table/5065-interaction-log-entry/) Modify

## RecordsToXml

[Line 119](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L119), local.

- [129](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L129) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `AddRootElement`
- [132](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L132) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `AddElement`
- [132](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L132) calls `GetXmlTableName`
- [133](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L133) calls `AddFieldToXml`
- [134](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L134) calls `AddFieldToXml`
- [135](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L135) calls `AddFieldToXml`
- [136](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L136) calls `AddFieldToXml`
- [137](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L137) calls `AddFieldToXml`
- [138](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L138) calls `AddFieldToXml`
- [142](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L142) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `AddElement`
- [142](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L142) calls `GetXmlTableName`
- [143](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L143) calls `AddFieldToXml`

## XmlToRecords

[Line 149](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L149), local.

- [156](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L156) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `LoadXMLDocumentFromText`
- [159](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L159) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `FindNode`
- [159](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L159) calls `GetXmlTableName`
- [160](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L160) calls `SetFieldFromXml`
- [161](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L161) calls `SetFieldFromXml`
- [162](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L162) calls `SetFieldFromXml`
- [163](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L163) calls `SetFieldFromXml`
- [164](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L164) calls `SetFieldFromXml`
- [165](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L165) calls `SetFieldFromXml`
- [171](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L171) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `FindNode`
- [171](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L171) calls `GetXmlTableName`
- [172](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L172) calls `SetFieldFromXml`

## AddFieldToXml

[Line 177](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L177), local.

- [182](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L182) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `AddElement`
- [182](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L182) calls `GetXmlNodeName`

## SetFieldFromXml

[Line 185](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L185), local.

- [192](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L192) calls [Codeunit 6224 XML DOM Management](https://jonas-paprotka.de/ref/codeunit/6224-xml-dom-management/) `FindNodeText`
- [192](https://jonas-paprotka.de/ref/codeunit/783-relationship-performance-mgt/source/#L192) calls `GetXmlNodeName`

## Source

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

JOP-AL, 2026-11-20.
