Codeunit 8903 Email Record Reference Impl.

System Application, System.Email

Source AL, 356 lines

src/System Application/App/Email/src/Email/EmailRecordReferenceImpl.Codeunit.allines 13 to 28 of 356, Copyright (c) Microsoft Corporation. MIT

codeunit 8903 "Email Record Reference Impl." implements "Record Reference"{    Access = Internal;    InherentPermissions = X;    InherentEntitlements = X;    Permissions = tabledata "Sent Email" = r,                  tabledata "Email Outbox" = r;    var        InitializedCallerModuleId: Guid;        IncorrectCallerAppIdErr: Label 'The interface was initialized by a different app. Initializer app id: %1, caller app id :%2', Comment = '%1 and %2 are guid''s';        SystemApplicationAppIdTxt: Label '63ca2fa4-4f03-4f2b-a480-172fef340d3f', Locked = true;        RetentionPolicyAppIdTxt: Label 'a8177fd4-0adb-4482-889c-2e123a13b50a', Locked = true;    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Record Reference", OnInitialize, '', false, false)]    local procedure OnSetRecordRefIndirectPermissionInterface(RecordRef: RecordRef; var RecordReference: Interface "Record Reference"; CallerModuleInfo: ModuleInfo; var IsInitialized: Boolean);

All 356 lines

Public procedures 29 in 29

SetInitializedCalledModuleId(CallerModuleId: Guid)new in 21
ReadPermission(RecordRef: RecordRef): Booleannew in 21
WritePermission(RecordRef: RecordRef): Booleannew in 21
Count(RecordRef: RecordRef): Integernew in 21
CountApprox(RecordRef: RecordRef): Integernew in 21
IsEmpty(RecordRef: RecordRef): Booleannew in 21

All 29 procedures