Codeunit 1681 "Email Logging Management"
EmailLogging · Microsoft.CRM.EmailLoggin
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 12 connected objects and pages
EmailLogging · Microsoft.CRM.EmailLoggin · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata “Email Logging Setup” = rimd |
Events published
OnAfterInitializeAPIClient(var EmailLoggngAPIClient: interface "Email Logging API Client")(internal)OnAfterInitializeOAuthClient(var EmailLoggingOAuthClient: interface "Email Logging OAuth Client")(internal)
Event subscriptions
- HandleOnRegisterAssistedSetup subscribes to Codeunit “Guided Experience” OnRegisterAssistedSetup
- HandleOnBeforeSetStatusValue subscribes to Table “Job Queue Entry” OnBeforeSetStatusValue
- HandleOnRunEmailLoggingSetup subscribes to Page “Marketing Setup” OnRunEmailLoggingSetup
Procedures
IsEmailLoggingEnabled(): Boolean(internal)CheckEmailLoggingEnabled()(internal)CheckEmailLoggingSetup()(internal)CheckInteractionTemplateSetup(): Boolean(internal)RegisterAssistedSetup(): Boolean(internal)ClearEmailLoggingSetup(var EmailLoggingSetup: Record "Email Logging Setup")(internal)CreateEmailLoggingJobQueueSetup()(internal)DeleteEmailLoggingJobQueueSetup()(internal)UpdateEmailLoggingJobQueueSetup()(internal)PromptClientCredentials(var ClientId: Text[250]; var ClientSecret: Text[250]; var RedirectURL: Text[2048]): Boolean(internal)ExtractTenantIdFromAccessToken(AccessToken: SecretText): Text(internal)TryExtractTenantIdFromAccessToken(var TenantId: Text; AccessToken: SecretText)(internal)InitializeAPIClient(var APIClient: interface "Email Logging API Client")(internal)InitializeOAuthClient(var OAuthClient: interface "Email Logging OAuth Client")(internal)LogActivityFailed(ActivityDescription: Text; ActivityMessage: Text)(internal)GetActivityLogRelatedRecordId(var RecordId: RecordId)(internal)
Plus 2 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 1990 “Guided Experience” (4 calls:
CheckEmailLoggingEnabled → Run,RegisterAssistedSetup → AddTranslationForSetupObjectTitle,RegisterAssistedSetup → Exists, …) - Codeunit 1293 “Isolated Storage Management” (1 call:
ClearEmailLoggingSetup → Delete) - Codeunit 43 “Language” (1 call:
RegisterAssistedSetup → GetDefaultApplicationLanguageId) - Codeunit 453 “Job Queue - Enqueue” (1 call:
CreateEmailLoggingJobQueueSetup → (object)) - Codeunit 501 “OAuth2” (1 call:
PromptClientCredentials → GetDefaultRedirectURL) - Codeunit 9179 “Application Area Mgmt. Facade” (1 call:
HandleOnRegisterAssistedSetup → IsBasicOnlyEnabled) - Page 1613 “Exchange Client Credentials” (1 call:
PromptClientCredentials → (object)) - Page 1680 “Email Logging Setup” (1 call:
HandleOnRunEmailLoggingSetup → (object))
Called by
- Codeunit 1684 “Email Logging API Helper” (6 calls:
GetMessages → LogActivityFailed,Initialize → InitializeAPIClient,Initialize → InitializeOAuthClient, …) - Codeunit 1685 “Email Logging Invoke” (4 calls:
ArchiveMessage → LogActivityFailed,DeleteMessage → LogActivityFailed,LogMessageAsInteraction → LogActivityFailed, …) - Page 1680 “Email Logging Setup” (4 calls:
OnInit → InitializeOAuthClient,OnInit → RegisterAssistedSetup,SignInAndGiveAppConsent → ExtractTenantIdFromAccessToken, …) - Page 1681 “Email Logging Setup Wizard” (4 calls:
OnInit → InitializeOAuthClient,ShowDoneStep → CheckInteractionTemplateSetup,SignInAndGiveAppConsent → ExtractTenantIdFromAccessToken, …) - Codeunit 1688 “Email Logging Upgrade” (1 call:
DisableEmailLoggingUsingEWS → RegisterAssistedSetup)
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 Logging Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.