Codeunit 8933 View If All Related Records

System Application, System.Email

Source AL, 101 lines

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

codeunit 8933 "View If All 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.GetSentEmailsIfAccessToAllRelatedRecords(SentEmails);    end;

All 101 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