Table 9988 Word Template in 28

App
System Application
Namespace
System.Integration.Word

Fields, 7Keys, 2

Versions171819202122232425262728latest

Source242526272829

Source in 28

src/System Application/App/Word Templates/src/WordTemplate.Table.al74 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.Globalization;
using System.Reflection;

/// <summary>
/// Holds information about a Word template.
/// </summary>
table 9988 "Word Template"
{
    Access = Public;
    Extensible = false;

    fields
    {
        field(1; "Code"; Code[30])
        {
            DataClassification = CustomerContent;
        }
        field(2; Name; Text[250])
        {
            DataClassification = CustomerContent;
        }
        field(3; "Table ID"; Integer)
        {
            DataClassification = SystemMetadata;
        }
        field(4; Template; Media)
        {
            DataClassification = CustomerContent;
        }
        field(5; "Table Caption"; Text[80])
        {
            FieldClass = FlowField;
            CalcFormula = lookup("Table Metadata".Caption where(ID = field("Table ID")));
        }
        field(6; "Language Code"; Code[10])
        {
            DataClassification = SystemMetadata;
            TableRelation = Language;
        }
        field(7; "Language Name"; Text[80])
        {
            FieldClass = FlowField;
            CalcFormula = lookup(Language.Name where(Code = field("Language Code")));
        }
    }

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

        key(Language; "Language Code")
        {
        }
    }

    fieldgroups
    {
        fieldgroup(Brick; Code, Name, "Table Caption", "Language Name")
        {

        }
    }
}

Fields, 7

IdNameTypeObsolete
1CodeCode[30]-
2NameText[250]-
3Table IDInteger-
4TemplateMedia-
5Table CaptionText[80]-
6Language CodeCode[10]-
7Language NameText[80]-

Keys, 2

NameFieldsObsolete
PK, clusteredCode-
LanguageLanguage Code-