Codeunit 6167 E-Doc. PO AOAI Function

E-Document Core

Source AL, 97 lines

src/Apps/W1/EDocument/App/src/Processing/OrderMatching/Copilot/EDocPOAOAIFunction.Codeunit.allines 3 to 18 of 97, Copyright (c) Microsoft Corporation. MIT

codeunit 6167 "E-Doc. PO AOAI Function" implements "AOAI Function"{    Access = Internal;    InherentPermissions = X;    InherentEntitlements = X;    ObsoleteState = Pending;    ObsoleteReason = 'The E-Document Purchase Order Matching Copilot has been deprecated. AI-assisted line matching is now handled at import time in the E-Document Purchase Draft experience by codeunit "E-Doc. AI Tool Processor".';    ObsoleteTag = '29.0';    [NonDebuggable]    procedure GetPrompt() Prompt: JsonObject    var        AzureKeyVault: Codeunit "Azure Key Vault";        EDocPOCopilotMatching: Codeunit "E-Doc. PO Copilot Matching";        EDocumentMappingToolPrompt: Text;    begin

All 97 lines

Public procedures 5 in 29

GetPrompt(): JsonObjectnew in 24
Execute(Arguments: JsonObject): Variantnew in 24
GetName(): Textnew in 24
SetRecords(var TempEDocumentImportedLineLocal: Record "E-Doc. Imported Line" temporary; var TempPurchaseLineLocal: Record "Purchase Line" temporary)new in 24
GetArgumentsAsJson(): JsonObjectnew in 25

Changes 1 in 29

List17181920212223242526272829
Object1
Procedures1
codeunit 6167 "E-Doc. PO AOAI Function"new in 24
marked Pending, tag 29.0: The E-Document Purchase Order Matching Copilot has been deprecated. AI-assisted line matching is now handled at import time in the E-Document Purchase Draft experience by codeunit "E-Doc. AI Tool Processor".

All 2 changes in 24-29