{"title":"Codeunit 7788 AOAI Policy Params Impl, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7788-aoai-policy-params-impl/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":"codeunit","id":7788,"name":"AOAI Policy Params Impl","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/7788-aoai-policy-params-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7788-aoai-policy-params-impl/source/","path":"src/System Application/App/AI/src/Azure OpenAI/Chat Completion/AOAIPolicyParamsImpl.Codeunit.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:8711":{"name":"Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8711-telemetry/"}},"procs":[{"name":"GetHarmsSeverity","line":24,"kind":"procedure","params":0,"steps":[[27,"call","InitializeDefaults",0]]},{"name":"GetXPIADetection","line":32,"kind":"procedure","params":0,"steps":[[35,"call","InitializeDefaults",0]]},{"name":"SetHarmsSeverity","line":40,"kind":"procedure","params":1,"steps":[[43,"call","InitializeDefaults",0]]},{"name":"SetXPIADetection","line":50,"kind":"procedure","params":1,"steps":[[53,"call","InitializeDefaults",0]]},{"name":"GetCustomAOAIPolicy","line":60,"kind":"procedure","params":0,"steps":[[63,"call","InitializeDefaults",0]]},{"name":"SetCustomAOAIPolicy","line":68,"kind":"procedure","params":1,"steps":[[71,"call","InitializeDefaults",0]]},{"name":"GetAOAIPolicy","line":78,"kind":"procedure","access":"internal","params":0,"steps":[[80,"call","GetCustomAOAIPolicy",0],[81,"call","GetCustomAOAIPolicy",0],[83,"call","GetAOAIPolicyEnum",0]]},{"name":"GetAOAIPolicyEnum","line":86,"kind":"procedure","access":"local","params":0,"steps":[[92,"call","GetHarmsSeverity",0],[93,"call","GetXPIADetection",0],[108,"ext","codeunit",8711,"LogMessage",4]]}]}