Table 9500 "Email Item"
Base Application · System.Email
Across versions
- BC23present
- BC242 procedures removed
- BC25unchanged
- BC2614 fields changed, 2 fields removed
- BC272 procedures added, 2 events removed
- BC2814 fields changed
- BC29-30unchanged
Neighbourhood 6 connected objects and pages
Base Application · System.Email · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Email Item |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Guid | — | |
| 2 | From Name | Text[100] | — | |
| 3 | From Address | Text[250] | — | |
| 4 | Send to | Text[250] | — | |
| 5 | Send CC | Text[250] | — | |
| 6 | Send BCC | Text[250] | — | |
| 7 | Subject | Text[250] | — | |
| 8 | Body | BLOB | — | |
| 9 | Attachment File Path Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 10 | Attachment Name Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 11 | Plaintext Formatted | Boolean | — | |
| 12 | Body File Path Δ BC27 | Text[250] | — | obsolete Pending 27.0; #if not CLEANSCHEMA30 |
| 13 | Message Type | Option | — | OptionCaption: Custom Message,From Email Body Template |
| 14 | Send as HTML | Boolean | — | |
| 21 | Attachment File Path 2 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 22 | Attachment Name 2 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 23 | Attachment File Path 3 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 24 | Attachment Name 3 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 25 | Attachment File Path 4 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 26 | Attachment Name 4 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 27 | Attachment File Path 5 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 28 | Attachment Name 5 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 29 | Attachment File Path 6 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 30 | Attachment Name 6 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 31 | Attachment File Path 7 Δ BC26 Δ BC28 | Text[250] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
| 32 | Attachment Name 7 Δ BC26 Δ BC28 | Text[50] | — | obsolete Removed 28.0; #if not CLEANSCHEMA28 |
Keys
- Key1: ID (clustered)
Events published
OnBeforeGetBodyText(var EmailItem: Record "Email Item"; var Value: Text; var IsHandled: Boolean)(integration)OnBeforeSend(var EmailItem: Record "Email Item"; var HideMailDialog: Boolean; var MailManagement: Codeunit "Mail Management"; var EmailScenario: Enum "Email Scenario"; var Result: Boolean; var Enqueue: Boolean; var IsHandled: Boolean)+ BC27 − BC27 (integration)OnBeforeSetAttachments(var EmailItem: Record "Email Item"; var TempBlobList: Codeunit "Temp Blob List"; var Names: List of [Text])(integration)
Trigger event subscribers
- OnAttachIncomingDocumentsOnAfterSetFilter: Codeunit 5579 “Digital Voucher Impl.” ExcludeDigitalVouchersOnAttachIncomingDocumentsOnAfterSetFilter
Procedures
HasAttachments(): BooleanGetAttachments(var TempBlobList: Codeunit "Temp Blob List"; var Names: List of [Text])SetAttachments(TempBlobList: Codeunit "Temp Blob List"; Names: List of [Text])AddAttachment(AttachmentStream: Instream; AttachmentName: Text)AddSourceDocument(TableID: Integer; SourceID: Guid)AddSourceDocument(TableID: Integer; SourceID: Guid; RelationType: Enum "Email Relation Type")GetSourceDocuments(var SourceTableList: List of [Integer]; var SourceIDList: List of [Guid]; var SourceRelationTypeList: List of [Integer])SetSourceDocuments(NewSourceTables: List of [Integer]; NewSourceIDs: List of [Guid]; NewSourceRelationTypes: List of [Integer])Initialize()Send(HideMailDialog: Boolean; EmailScenario: Enum "Email Scenario"): Boolean− BC24Send(HideMailDialog: Boolean; EmailScenario: Enum "Email Scenario"; Enqueue: Boolean): Boolean− BC24SetBodyText(Value: Text)SetBody(var TempBlob: Codeunit "Temp Blob")+ BC27 + BC27SetBody(var TempBlob: Codeunit "Temp Blob"; FormattedAsPlainText: Boolean)+ BC27 + BC27GetBodyText(): TextGetBodyTextFromBlob(): TextSendAsHTML(SendAsHTML: Boolean)ValidateTarget()
Plus 1 local procedures.
Extended by
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 4102 “Temp Blob List” (2 calls:
AddAttachment → Add,HasAttachments → (object)) - Codeunit 28 “Error Message Management” (1 call:
ValidateTarget → LogSimpleErrorMessage) - Codeunit 4100 “Temp Blob” (1 call:
AddAttachment → CreateOutStream) - Codeunit 9520 “Mail Management” (1 call:
CorrectAndValidateEmailList → CheckValidEmailAddresses)
Deprecations
- field Body File Path: Pending 27.0 (#if not CLEANSCHEMA30), “Replaced with field Body. You can use the new procedure SetBody to update the value of the html formatted body.”
- field Attachment File Path: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 2: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 3: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 4: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 5: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 6: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment File Path 7: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 2: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 3: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 4: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 5: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 6: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
- field Attachment Name 7: Removed 28.0 (#if not CLEANSCHEMA28), “Replaced with method AddAttachment that accepts Streams.”
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: "table", object_name: "Email Item"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.