Table 5325 Table Config Template
src/Layers/W1/BaseApp/Integration/SynchEngine/TableConfigTemplate.Table.al91 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 Microsoft.Integration.SyncEngine;using System.IO;using System.Reflection;table 5325 "Table Config Template"{ Caption = 'Table Config Template'; DataClassification = SystemMetadata; fields { field(1; "No."; Integer) { AutoIncrement = true; Caption = 'No.'; DataClassification = SystemMetadata; } field(2; "Integration Table Mapping Name"; Code[20]) { Caption = 'Integration Table Mapping Name'; TableRelation = "Integration Table Mapping".Name; NotBlank = true; DataClassification = SystemMetadata; } field(3; "Table ID"; Integer) { Caption = 'Table ID'; TableRelation = "Table Metadata".ID; DataClassification = SystemMetadata; } field(4; "Table Config Template Code"; Code[10]) { Caption = 'Table Config Template Code'; ToolTip = 'Specifies a configuration template to use when creating new records in the Business Central table during synchronization.'; TableRelation = "Config. Template Header".Code where("Table ID" = field("Table ID")); DataClassification = SystemMetadata; } field(5; "Integration Table Filter"; Blob) { Caption = 'Integration Table Filter'; DataClassification = SystemMetadata; } field(6; Priority; Integer) { Caption = 'Priority'; ToolTip = 'Specifies the priority of the configuration template.'; DataClassification = SystemMetadata; MinValue = 0; BlankZero = true; } field(7; "Integration Table ID"; Integer) { Caption = 'Integration Table ID'; TableRelation = "Table Metadata".ID; DataClassification = SystemMetadata; } } keys { key(PK; "No.") { Clustered = true; } key(Key2; Priority) { } } procedure SetIntegrationTableFilter(TableFilter: Text) var OutStream: OutStream; begin "Integration Table Filter".CreateOutStream(OutStream); OutStream.Write(TableFilter); end; procedure GetIntegrationTableFilter() Value: Text var InStream: InStream; begin CalcFields("Integration Table Filter"); "Integration Table Filter".CreateInStream(InStream); InStream.Read(Value); end;}