{"title":"Page 5836 Copilot Marketing Text, extension points 29","url":"https://jonas-paprotka.de/ref/page/5836-copilot-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":5836,"name":"Copilot Marketing Text","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/5836-copilot-marketing-text/source/","path":"src/Layers/W1/BaseApp/Inventory/MarketingText/CopilotMarketingText.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":{"table:5835":{"name":"Marketing Text Suggestion","url":"https://jonas-paprotka.de/ref/table/5835-marketing-text-suggestion/"},"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/"}},"procs":[{"name":"ItemText.OnValidate","line":85,"kind":"trigger","steps":[[87,"call","SetText",1],[88,"write",5835,"Modify"]]},{"name":"ItemText.OnAction","line":102,"kind":"trigger","steps":[[104,"call","SetSelectedFacts",0],[105,"call","GenerateText",1]]},{"name":"ItemText.OnAction","line":111,"kind":"trigger","steps":[[113,"call","GenerateText",1]]},{"name":"OnAfterGetCurrRecord","line":128,"kind":"trigger","steps":[[131,"call","BuildInitialData",0],[138,"call","GetText",0],[144,"call","SelectedAttributesFromRecord",0]]},{"name":"BuildInitialData","line":192,"kind":"procedure","access":"local","params":0,"steps":[[194,"call","BuildInitialFacts",0],[195,"call","BuildAttributeString",0]]},{"name":"BuildInitialFacts","line":205,"kind":"procedure","access":"local","params":0,"steps":[[212,"ext","codeunit",5825,"GetMaximumFacts",0]]},{"name":"SetSelectedFacts","line":278,"kind":"procedure","access":"local","params":0,"steps":[[282,"call","BuildAttributeString",0]]},{"name":"GenerateText","line":306,"kind":"procedure","access":"local","params":1,"steps":[[312,"call","BuildInitialData",0],[318,"ext","codeunit",2010,"GenerateText",4],[321,"call","SetSelectedAttributesToBlob",0],[327,"call","SetText",1],[328,"write",5835,"Insert"]]}]}