{"title":"Codeunit 339 No. Series Cop. Generate, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/339-no-series-cop-generate/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":339,"name":"No. Series Cop. Generate","app":"Business Foundation","url":"https://jonas-paprotka.de/ref/codeunit/339-no-series-cop-generate/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/339-no-series-cop-generate/source/","path":"src/Business Foundation/App/NoSeriesCopilot/src/Copilot/Tools/NoSeriesCopGenerate.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:324":{"name":"No. Series Copilot Impl.","url":"https://jonas-paprotka.de/ref/codeunit/324-no-series-copilot-impl/"},"codeunit:2200":{"name":"Azure Key Vault","url":"https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/"},"codeunit:8711":{"name":"Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8711-telemetry/"}},"procs":[{"name":"GetPrompt","line":30,"kind":"procedure","params":0,"steps":[[32,"call","GetTool4Definition",0]]},{"name":"Execute","line":35,"kind":"procedure","params":1,"steps":[[41,"call","GetNumberSeriesJsonArray",2],[42,"ext","codeunit",324,"SendNotification",1]]},{"name":"GetTool4Definition","line":56,"kind":"procedure","access":"local","params":0,"steps":[[60,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[61,"ext","codeunit",8711,"LogMessage",4]]},{"name":"GetNumberSeriesJsonArray","line":67,"kind":"procedure","access":"local","params":2,"steps":[[73,"ext","codeunit",324,"GetChatCompletionResponseErr",0],[76,"ext","codeunit",324,"GetChatCompletionResponseErr",0]]}]}