Table 8909 Email Related Record

App
System Application
Namespace
System.Email
Versions
18-28

Fields, 5Keys, 2

Versions171819202122232425262728

Source242526272829

Source in 29

src/System Application/App/Email/src/Email/EmailRelatedRecord.Table.al54 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Email;

///<summary>
/// Holds the relations between emails and records.
/// </summary>
table 8909 "Email Related Record"
{
    DataClassification = SystemMetadata;
    InherentPermissions = X;
    InherentEntitlements = X;

    fields
    {
        field(1; "Email Message Id"; Guid)
        {
            DataClassification = SystemMetadata;
        }
        field(2; "Table Id"; Integer)
        {
            DataClassification = SystemMetadata;
        }
        field(3; "System Id"; Guid)
        {
            DataClassification = SystemMetadata;
        }
        field(4; "Relation Type"; Enum "Email Relation Type")
        {
            DataClassification = SystemMetadata;
        }
        /// <summary>
        /// The origin of this relation. When or how it was added to the email.
        /// </summary>
        field(5; "Relation Origin"; Enum "Email Relation Origin")
        {
            DataClassification = SystemMetadata;
        }
    }

    keys
    {
        key(PK; "Table Id", "System Id", "Email Message Id")
        {
            Clustered = true;
        }
        key(Key2; "Email Message Id")
        {
        }
    }
}