Codeunit 1685 "Email Logging Invoke"
EmailLogging · Microsoft.CRM.EmailLoggin
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 4 connected objects and pages
EmailLogging · Microsoft.CRM.EmailLoggin · BC29-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeGetInboundOutboundInteraction(var EmailLoggingMessage: Codeunit "Email Logging Message"; var SegmentLine: Record "Segment Line")(integration, obsolete 29.0)OnBeforeGetInboundOutboundInteractionForSender(SenderAddress: Text; var SegmentLine: Record "Segment Line")(integration)OnLogMessageAsInteractionOnAfterInsertInteractionLogEntry(NextInteractionLogEntryNo: Integer; Subject: Text)(integration)
Procedures
IsMessageAlreadyLogged(var EmailLoggingMessage: Codeunit "Email Logging Message"): Boolean(internal)UpdateSegmentLine(var SegmentLine: Record "Segment Line"; Emails: Code[10]; var EmailLoggingMessage: Codeunit "Email Logging Message"; AttachmentNo: Integer)(internal)InsertInteractionLogEntry(SegmentLine: Record "Segment Line"; EntryNo: Integer)(internal)IsSalesperson(Email: Text; var SegmentLine: Record "Segment Line"): Boolean(internal)IsContact(EMail: Text; var SegmentLine: Record "Segment Line"): Boolean(internal)GetErrorContext(): Text(internal)
Plus 18 local procedures.
Triggers
OnRun
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 1687 “Email Logging Message” (18 calls:
GetContactRecipients → GetToAndCcRecipients,GetInboundOutboundInteraction → GetSender,GetSalespersonRecipients → GetToAndCcRecipients, …) - Codeunit 1681 “Email Logging Management” (4 calls:
ArchiveMessage → LogActivityFailed,DeleteMessage → LogActivityFailed,LogMessageAsInteraction → LogActivityFailed, …) - Codeunit 1684 “Email Logging API Helper” (3 calls:
ProcessMessages → GetMessages,TryArchiveMessage → ArchiveMesage,TryDeleteMessage → DeleteMesage)
Called by
- Codeunit 1683 “Email Logging Job Runner” (2 calls:
OnRun → (object),OnRun → GetErrorContext)
Deprecations
- procedure OnBeforeGetInboundOutboundInteraction: Pending 29.0 (#if not CLEAN29), “Use OnBeforeGetInboundOutboundInteractionForSender instead. The “Email Logging Message” codeunit parameter cannot be referenced from external apps, making this event unusable by subscribers.”
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
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 Invoke"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.