Codeunit 6129 E-Doc. Deferral Matching

E-Document Core, Microsoft.eServices.EDocument.Processing.AI

Source AL, 214 lines

src/Apps/W1/EDocument/App/src/Processing/AI/Tools/EDocDeferralMatching.Codeunit.allines 15 to 30 of 214, Copyright (c) Microsoft Corporation. MIT

codeunit 6129 "E-Doc. Deferral Matching" implements "AOAI Function", IEDocAISystem{    Access = Internal;    TableNo = "E-Document Purchase Line";    EventSubscriberInstance = Manual;    InherentPermissions = X;    InherentEntitlements = X;    trigger OnRun()    var        DeferralTemplate: Record "Deferral Template";        TempEDocLineMatchBuffer: Record "EDoc Line Match Buffer" temporary;        EDocumentAIProcessor: Codeunit "E-Doc. AI Tool Processor";        EDocActivityLogBuilder: Codeunit "Activity Log Builder";        Response: Codeunit "AOAI Operation Response";        FunctionResponse: Codeunit "AOAI Function Response";

All 214 lines

Events 1 in 29

[IntegrationEvent] OnGetDeferralMatchFunctionResponse(TempEDocLineMatchBuffer: Record "EDoc Line Match Buffer" temporary)new in 27

Public procedures 5 in 29

GetPrompt(): JsonObjectnew in 26
GetName(): Textnew in 26
GetSystemPrompt(UserLanguage: Text): SecretTextnew in 27
GetTools(): Listnew in 27
GetFeatureName(): Textnew in 27

All 9 procedures in 26-29

Changes 8 in 27

List17181920212223242526272829
Object1
Procedures6
Events1
codeunit 6129 "E-Doc. Deferral Matching"new in 26
changed, was codeunit 6129 "E-Doc Line Matcher - Deferral"
internal ApplyPurchaseLineMatchingProposals(var EDocumentPurchaseLine: Record "E-Document Purchase Line")26 to 26
gone
internal GetPurchaseLineMatchingProposals(var EDocumentPurchaseLine: Record "E-Document Purchase Line"): Boolean26 to 26
gone
internal LoadEDocLineMatchBuffer(var TempEDocLineMatchBuffer: Record "EDoc Line Match Buffer" temporary)26 to 26
gone
GetSystemPrompt(UserLanguage: Text): SecretTextnew in 27
added
GetTools(): Listnew in 27
added

All 8 changes in 26-29