Codeunit 8906 "Email Editor"
System Application · System.Email
Across versions
- BC23present
- BC243 procedures added
- BC25-30unchanged
Neighbourhood 12 connected objects and pages
System Application · System.Email · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Email Outbox” = rimd, tabledata “Tenant Media” = r, tabledata “Email Related Record” = rd, tabledata “Email View Policy” = r, tabledata “Email Rate Limit” = r, tabledata “Sent Email” = r |
Procedures
Open(EmailOutbox: Record "Email Outbox"; IsModal: Boolean): Enum "Email Action"OpenWithScenario(EmailOutbox: Record "Email Outbox"; IsModal: Boolean; Scenario: Enum "Email Scenario"): Enum "Email Action"CheckPermissions(EmailOutbox: Record "Email Outbox")SetAsNew()GetEmailAccount(EmailOutbox: Record "Email Outbox"; var EmailAccount: Record "Email Account")GetEmailMessage(var EmailOutbox: Record "Email Outbox"; var EmailMessageImpl: Codeunit "Email Message Impl.")CreateOutbox(var EmailOutbox: Record "Email Outbox")ChangeEmailAccount(var EmailOutbox: Record "Email Outbox"; var ChosenEmailAccount: Record "Email Account")UploadAttachment(EmailMessageImpl: Codeunit "Email Message Impl.")+ BC24 + BC24 + BC24UploadAttachment(EmailMessageImpl: Codeunit "Email Message Impl."; SingleFile: FileUpload)+ BC24 + BC24 + BC24UploadAttachment(EmailMessageImpl: Codeunit "Email Message Impl."; SingleFile: FileUpload; EncodeType: TextEncoding)+ BC24 + BC24 + BC24UploadAttachment(EmailMessageImpl: Codeunit "Email Message Impl."; FileName: Text; Instream: InStream)+ BC24 + BC24 + BC24DownloadAttachment(MediaID: Guid; FileName: Text)DownloadAttachments(Attachments: Dictionary of [Guid, Text]; FileName: Text)ValidateEmailData(FromEmailAddress: Text; var EmailMessageImpl: Codeunit "Email Message Impl."): BooleanSendOutbox(var EmailOutbox: Record "Email Outbox")DiscardEmail(var EmailOutbox: Record "Email Outbox"; Confirm: Boolean): BooleanAttachFromRelatedRecords(EmailMessageID: Guid)LoadWordTemplate(EmailMessageImpl: Codeunit "Email Message Impl."; EmailMessageID: Guid)AttachFromWordTemplate(EmailMessageImpl: Codeunit "Email Message Impl."; EmailMessageID: Guid)GetRelatedAttachments(EmailMessageId: Guid; var EmailRelatedAttachmentOut: Record "Email Related Attachment")LookupRecipients(MessageID: Guid; var Text: Text): BooleanVerifyRelatedRecords(MessageID: Guid)RemoveFromCacheIfExists(var TempCache: Dictionary of [Text, Guid]; var EmailMessage: Codeunit "Email Message"; RecipientType: Enum "Email Recipient Type")(internal)PopulateRelatedRecordCache(MessageID: Guid)(internal)AddRelatedRecordsFromEmailAddress(MessageID: Guid; var EmailAddressLookupSuggestion: Record "Email Address Lookup")(internal)
Plus 3 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 8905 “Email Message Impl.” (13 calls:
AttachFromWordTemplate → AddAttachmentInternal,AttachFromWordTemplate → GetContentTypeFromFilename,GetEmailMessage → Create, …) - Codeunit 8904 “Email Message” (9 calls:
AddRelatedRecordsFromEmailAddress → Get,AddRelatedRecordsFromEmailAddress → GetId,BeforeOpenEmailEditor → Get, …) - Codeunit 425 “Data Compression” (4 calls:
DownloadAttachments → AddEntry,DownloadAttachments → CloseZipArchive,DownloadAttachments → CreateZipArchive, …) - Codeunit 8901 “Email” (4 calls:
AddRelatedRecordsFromEmailAddress → AddRelation,AddRelatedRecordsFromEmailAddress → HasRelations,AttachFromRelatedRecords → OnGetAttachment, …) - Codeunit 4100 “Temp Blob” (2 calls:
DownloadAttachments → CreateInStream,DownloadAttachments → CreateOutStream) - Codeunit 8900 “Email Impl” (2 calls:
CheckPermissions → GetUserEmailViewPolicy,SendOutbox → Send) - Page extension 8900 “Email Address Lookup” (2 calls:
LookupRecipients → (object),PopulateRelatedRecordCache → (object)) - Codeunit 8711 “Telemetry” (1 call:
BeforeOpenEmailEditor → LogMessage) - Codeunit 8893 “Email Scenario” (1 call:
CreateOutbox → GetDefaultEmailAccount) - Codeunit 8894 “Email Account” (1 call:
GetEmailAccount → GetAllAccounts)
Called by
- Page 13 “Email Editor” (10 calls:
LookupRecipients → LookupRecipients,OnAfterGetRecord → CheckPermissions,OnAfterGetRecord → GetEmailAccount, …) - Codeunit 8900 “Email Impl” (2 calls:
OpenInEditorWithScenario → OpenWithScenario,OpenInEditorWithScenario → SetAsNew) - Page 8890 “Email Related Attachments” (1 call:
OnOpenPage → GetRelatedAttachments)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Email Editor"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.