Table 9500 Email Item

Base Application, System.EMail

Source AL, 448 lines

src/Layers/W1/BaseApp/Modules/System/Email/EmailItem.Table.allines 8 to 23 of 448, Copyright (c) Microsoft Corporation. MIT

table 9500 "Email Item"{    Caption = 'Email Item';    DataClassification = CustomerContent;    fields    {        field(1; ID; Guid)        {            Caption = 'ID';        }        field(2; "From Name"; Text[100])        {            Caption = 'From Name';        }        field(3; "From Address"; Text[250])

All 448 lines

Fields 26 in 29

1IDGuid17-29
2From NameText[100]17-29
3From AddressText[250]17-29
4Send toText[250]17-29
5Send CCText[250]17-29
6Send BCCText[250]17-29
7SubjectText[250]17-29
8BodyBlob17-29
9Attachment File PathText[250]17-29
Removed, tag 28.0, obsolete since 17: Replaced with method AddAttachment that accepts Streams.

All 28 fields in 17-29

Events 3 in 29

[IntegrationEvent] OnBeforeGetBodyText(var EmailItem: Record "Email Item"; var Value: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeSetAttachments(var EmailItem: Record "Email Item"; var TempBlobList: Codeunit "Temp Blob List"; var Names: List of [Text])new in 21
[IntegrationEvent] 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)new in 27

All 6 events in 17-29

Public procedures 18 in 29

HasAttachments(): Boolean17-29
GetAttachments(var TempBlobList: Codeunit "Temp Blob List"; var Names: List of [Text])17-29
SetAttachments(TempBlobList: Codeunit "Temp Blob List"; Names: List of [Text])17-29
AddAttachment(AttachmentStream: InStream; AttachmentName: Text)17-29changed in 18
Initialize()17-29
Send(HideMailDialog: Boolean; EmailScenario: Enum "Email Scenario"): Boolean17-29

All 24 procedures in 17-29

Extended in Microsoft's apps by 1

tableextension 9900 "Email Item Attach Document"Base Applicationnew in 27

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "Email Item"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "Email Item"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "Email Item"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "Email Item"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "Email Item"; var xRec: Record "Email Item"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 14 in 28

List17181920212223242526272829
Fields32114
Procedures9113223
Events123
field(9; "Attachment File Path"; Text[250])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.
field(10; "Attachment Name"; Text[250])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.
field(21; "Attachment File Path 2"; Text[250])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.
field(22; "Attachment Name 2"; Text[50])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.
field(23; "Attachment File Path 3"; Text[250])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.
field(24; "Attachment Name 3"; Text[50])17-29
Pending to Removed, tag 28.0: Replaced with method AddAttachment that accepts Streams.

All 47 changes in 17-29