---
title: "Page 5836 Copilot Marketing Text, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/points/
object: https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/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 5836 Copilot Marketing Text, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/points/

8 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/MarketingText/CopilotMarketingText.Page.al, in source order, read from the text, not from a run.

## ItemText.OnValidate

[Line 85](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L85), trigger.

- [87](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L87) calls `SetText`
- [88](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L88) writes [Table 5835 Marketing Text Suggestion](https://jonas-paprotka.de/ref/table/5835-marketing-text-suggestion/) Modify

## ItemText.OnAction

[Line 102](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L102), trigger.

- [104](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L104) calls `SetSelectedFacts`
- [105](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L105) calls `GenerateText`

## ItemText.OnAction

[Line 111](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L111), trigger.

- [113](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L113) calls `GenerateText`

## OnAfterGetCurrRecord

[Line 128](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L128), trigger.

- [131](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L131) calls `BuildInitialData`
- [138](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L138) calls `GetText`
- [144](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L144) calls `SelectedAttributesFromRecord`

## BuildInitialData

[Line 192](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L192), local.

- [194](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L194) calls `BuildInitialFacts`
- [195](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L195) calls `BuildAttributeString`

## BuildInitialFacts

[Line 205](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L205), local.

- [212](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L212) calls [Codeunit 5825 Marketing Text](https://jonas-paprotka.de/ref/codeunit/5825-marketing-text/) `GetMaximumFacts`

## SetSelectedFacts

[Line 278](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L278), local.

- [282](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L282) calls `BuildAttributeString`

## GenerateText

[Line 306](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L306), local.

- [312](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L312) calls `BuildInitialData`
- [318](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L318) calls [Codeunit 2010 Entity Text](https://jonas-paprotka.de/ref/codeunit/2010-entity-text/) `GenerateText`
- [321](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L321) calls `SetSelectedAttributesToBlob`
- [327](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L327) calls `SetText`
- [328](https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/#L328) writes [Table 5835 Marketing Text Suggestion](https://jonas-paprotka.de/ref/table/5835-marketing-text-suggestion/) Insert

## Source

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

JOP-AL, 2026-11-20.
