Codeunit 6182 Sent Document Approval
Source AL, 33 lines
src/Apps/W1/EDocument/App/src/Integration/Actions/Implementations/SentDocumentApproval.Codeunit.allines 15 to 30 of 33, Copyright (c) Microsoft Corporation. MIT
codeunit 6182 "Sent Document Approval" implements IDocumentAction{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; procedure InvokeAction(var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; ActionContext: Codeunit ActionContext): Boolean var IDocumentSender: Interface IDocumentSender; begin ActionContext.Status().SetErrorStatus(Enum::"E-Document Service Status"::"Approval Error"); ActionContext.Status().SetStatus(Enum::"E-Document Service Status"::"Approved"); IDocumentSender := EDocumentService."Service Integration V2"; if IDocumentSender is ISentDocumentActions then exit((IDocumentSender as ISentDocumentActions).GetApprovalStatus(EDocument, EDocumentService, ActionContext)); end;Public procedures 1 in 29
| Invoke | new in 26 |