Codeunit 6181 Mark Fetched

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

Source AL, 51 lines

src/Apps/W1/EDocument/App/src/Integration/Receive/MarkFetched.Codeunit.allines 14 to 29 of 51, Copyright (c) Microsoft Corporation. MIT

codeunit 6181 "Mark Fetched"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    trigger OnRun()    begin        if GlobalIDocumentReceiver is IReceivedDocumentMarker then            (GlobalIDocumentReceiver as IReceivedDocumentMarker).MarkFetched(this.EDocument, this.EDocumentService, this.DownloadedBlob, this.GlobalReceiveContext);    end;    procedure SetInstance(IDocumentReceiver: Interface IDocumentReceiver)    begin        this.GlobalIDocumentReceiver := IDocumentReceiver;    end;

All 51 lines

Public procedures 3 in 29

SetInstance(IDocumentReceiver: Interface IDocumentReceiver)new in 26
SetContext(ReceiveContext: Codeunit ReceiveContext)new in 26
SetParameters(var EDoc: Record "E-Document"; var EDocService: Record "E-Document Service"; TempBlob: Codeunit "Temp Blob")new in 26