{"title":"Codeunit 6167 E-Doc. PO AOAI Function, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6167-e-doc-po-aoai-function/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":6167,"name":"E-Doc. PO AOAI Function","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6167-e-doc-po-aoai-function/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6167-e-doc-po-aoai-function/source/","path":"src/Apps/W1/EDocument/App/src/Processing/OrderMatching/Copilot/EDocPOAOAIFunction.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:2200":{"name":"Azure Key Vault","url":"https://jonas-paprotka.de/ref/codeunit/2200-azure-key-vault/"},"codeunit:6163":{"name":"E-Doc. PO Copilot Matching","url":"https://jonas-paprotka.de/ref/codeunit/6163-e-doc-po-copilot-matching/"},"table:6163":{"name":"E-Doc. PO Match Prop. Buffer","url":"https://jonas-paprotka.de/ref/table/6163-e-doc-po-match-prop-buffer/"},"table:6165":{"name":"E-Doc. Imported Line","url":"https://jonas-paprotka.de/ref/table/6165-e-doc-imported-line/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"}},"procs":[{"name":"GetPrompt","line":13,"kind":"procedure","params":0,"steps":[[19,"ext","codeunit",2200,"GetAzureKeyVaultSecret",2],[22,"ext","codeunit",6163,"FeatureName",0]]},{"name":"Execute","line":25,"kind":"procedure","params":1,"steps":[[53,"write",6163,"Insert"]]},{"name":"SetRecords","line":64,"kind":"procedure","params":2,"steps":[[71,"write",6165,"Insert"],[78,"write",39,"Insert"]]}]}