Codeunit 8898 Map Email Source
Source AL, 79 lines
src/Layers/W1/BaseApp/OtherCapabilities/Email/MapEmailSource.Codeunit.allines 7 to 22 of 79, Copyright (c) Microsoft Corporation. MIT
codeunit 8898 "Map Email Source"{ Access = Internal; [EventSubscriber(ObjectType::Codeunit, Codeunit::Email, 'OnShowSource', '', false, false)] local procedure OnGetPageForSourceRecord(SourceTableId: Integer; SourceSystemId: Guid; var IsHandled: Boolean) var PageManagement: Codeunit "Page Management"; SourceRecordRef: RecordRef; begin SourceRecordRef.Open(SourceTableId); if not SourceRecordRef.GetBySystemId(SourceSystemId) then exit; if PageManagement.PageRun(SourceRecordRef) then IsHandled := true;