Codeunit 8930 "Email View Policy"
System Application · System.Email
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
System Application · System.Email · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Email View Policy” = ri, tabledata “Email Outbox” = ri, tabledata “Email Related Record” = r, tabledata “Sent Email” = ri |
Procedures
CheckForDefaultEntry(EmailViewPolicy: Enum "Email View Policy")CheckIfCanDeleteRecord(EmailViewPolicyRecord: Record "Email View Policy"): BooleanGetSentEmails(var TempSentEmails: Record "Sent Email" temporary)GetOutboxEmails(var TempEmailOutbox: Record "Email Outbox" temporary)GetSentEmailsBasedOnRelatedRecords(SourceTableIdFilter: Text; SourceSystemIdFilter: Text; EmailViewPolicy: Enum "Email View Policy"; var TempSentEmails: Record "Sent Email" temporary)GetEmailOutboxBasedOnRelatedRecords(SourceTableIdFilter: Text; SourceSystemIdFilter: Text; EmailViewPolicy: Enum "Email View Policy"; var TempEmailOutbox: Record "Email Outbox" temporary)GetDefaultUserId(): Text
Plus 2 local procedures.
Called by
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 8931 “View Only Own Emails Policy” (2 calls:
GetOutboxEmails → GetOutboxEmails,GetSentEmails → GetSentEmails) - Codeunit 8932 “View All Emails Policy” (2 calls:
GetOutboxEmails → GetOutboxEmails,GetSentEmails → GetSentEmails) - Page 8930 “Email View Policy List” (2 calls:
OnAfterGetCurrRecord → GetDefaultUserId,OnDeleteRecord → CheckIfCanDeleteRecord) - Codeunit 1596 “Email Installer” (1 call:
OnInstallAppPerCompany → CheckForDefaultEntry) - Codeunit 1597 “Email Upgrade” (1 call:
SetDefaultEmailViewPolicy → CheckForDefaultEntry)
Implemented by
- Codeunit 8931 “View Only Own Emails Policy”
- Codeunit 8932 “View All Emails Policy”
- Codeunit 8933 “View If All Related Records”
- Codeunit 8934 “View If Any Related Records”
- Enum 8930 “Email View Policy”
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 View Policy"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.