Table 9987 Word Templates Table, source in 27

Source242526272829metadata in 27

src/System Application/App/Word Templates/src/WordTemplatesTable.Table.al41 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.Integration.Word;

using System.Reflection;

/// <summary>
/// Represents the available tables that could be used in a Word template.
/// </summary>
table 9987 "Word Templates Table"
{
    Access = Public;
    Extensible = false;
    InherentEntitlements = X;
    InherentPermissions = X;

    fields
    {
        field(1; "Table ID"; Integer)
        {
            DataClassification = SystemMetadata;
        }
        field(2; "Table Caption"; Text[80])
        {
            FieldClass = FlowField;
            CalcFormula = lookup("Table Metadata".Caption where(ID = field("Table ID")));
        }
    }

    keys
    {
        key(PK; "Table ID")
        {
            Clustered = true;
        }
    }
}