{"title":"Page 5839 Modify Marketing Text, extension points 29","url":"https://jonas-paprotka.de/ref/page/5839-modify-marketing-text/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":5839,"name":"Modify Marketing Text","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5839-modify-marketing-text/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5839-modify-marketing-text/source/","path":"src/Layers/W1/BaseApp/Inventory/MarketingText/ModifyMarketingText.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:5825":{"name":"Marketing Text","url":"https://jonas-paprotka.de/ref/codeunit/5825-marketing-text/"},"codeunit:2010":{"name":"Entity Text","url":"https://jonas-paprotka.de/ref/codeunit/2010-entity-text/"},"table:2000000132":{"name":"Entity Text","url":"https://jonas-paprotka.de/ref/table/2000000132-entity-text/"}},"procs":[{"name":"SuggestMarketingText.OnAction","line":52,"kind":"trigger","steps":[[54,"call","SuggestWithCopilot",0]]},{"name":"OnInit","line":61,"kind":"trigger","steps":[[65,"ext","codeunit",5825,"IsMarketingTextVisible",0],[65,"ext","codeunit",2010,"CanSuggest",0]]},{"name":"OnAfterGetCurrRecord","line":68,"kind":"trigger","steps":[[77,"ext","codeunit",2010,"GetText",1]]},{"name":"OnQueryClosePage","line":81,"kind":"trigger","steps":[[85,"ext","codeunit",2010,"UpdateText",2],[86,"write",2000000132,"Modify"]]},{"name":"SuggestWithCopilot","line":97,"kind":"procedure","access":"local","params":0,"steps":[[103,"ext","codeunit",2010,"IsEnabled",1],[111,"ext","codeunit",5825,"CreateWithCopilot",3],[113,"ext","codeunit",2010,"GetText",1]]}]}