Codeunit 8934 View If Any Related Records

System Application, System.Email

Source AL, 99 lines

src/System Application/App/Email/src/Email/View Policy/Policies/ViewIfAnyRelatedRecords.Codeunit.allines 14 to 29 of 99, Copyright (c) Microsoft Corporation. MIT

codeunit 8934 "View If Any Related Records" implements "Email View Policy"{    Access = Internal;    InherentPermissions = X;    InherentEntitlements = X;    Permissions = tabledata "Email Related Record" = r,                  tabledata "Sent Email" = r,                  tabledata "Email Outbox" = r;    procedure GetSentEmails(var SentEmails: Record "Sent Email" temporary)    var        SentEmailsQuery: Query "Sent Emails";    begin        SentEmailsQuery.GetSentEmailsIfAccessToAnyRelatedRecords(SentEmails);    end;

All 99 lines

Public procedures 8 in 29

GetSentEmails(var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(var EmailOutbox: Record "Email Outbox" temporary)new in 20
GetSentEmails(SourceTableId: Integer; var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(SourceTableId: Integer; var EmailOutbox: Record "Email Outbox" temporary)new in 20
GetSentEmails(SourceTableId: Integer; SourceSystemId: Guid; var SentEmails: Record "Sent Email" temporary)new in 20
GetOutboxEmails(SourceTableId: Integer; SourceSystemId: Guid; var EmailOutbox: Record "Email Outbox" temporary)new in 20

All 9 procedures in 20-29