Table 9988 Word Template in 25
- App
- System Application
- Namespace
- System.Integration.Word
Versions171819202122232425262728latest
Source in 25
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
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | Code | Code[30] | - |
| 2 | Name | Text[250] | - |
| 3 | Table ID | Integer | - |
| 4 | Template | Media | - |
| 5 | Table Caption | Text[80] | - |
| 6 | Language Code | Code[10] | - |
| 7 | Language Name | Text[80] | - |
Keys, 2
| Name | Fields | Obsolete |
|---|---|---|
| PK, clustered | Code | - |
| Language | Language Code | - |