Codeunit 6178 E-Document Action Runner

E-Document Core, Microsoft.eServices.EDocument.Integration.Action

Source AL, 72 lines

src/Apps/W1/EDocument/App/src/Integration/Actions/EDocumentActionRunner.Codeunit.allines 14 to 29 of 72, Copyright (c) Microsoft Corporation. MIT

codeunit 6178 "E-Document Action Runner"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    trigger OnRun()    var        IAction: Interface IDocumentAction;    begin        IAction := ActionType;        this.UpdateStatusBool := IAction.InvokeAction(this.GlobalEDocument, this.GlobalEDocumentService, this.GlobalActionContext);    end;    /// <summary>    /// Sets the parameters for the E-Document Action

All 72 lines

Public procedures 4 in 29

SetEDocumentAndService(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service")new in 26
ShouldActionUpdateStatus(): Booleannew in 26
SetActionType(Action: Enum "Integration Action Type")new in 26
SetContext(ActionContext: Codeunit ActionContext)new in 26