Page 1212 Data Exch Line Def Card
src/Layers/W1/BaseApp/System/DataExchange/DataExchLineDefCard.Page.al66 lines, Copyright (c) Microsoft Corporation. MIT
namespace System.IO;page 1212 "Data Exch Line Def Card"{ Caption = 'Line Definitions'; PageType = Document; SourceTable = "Data Exch. Line Def"; layout { area(content) { group(General) { Caption = 'General'; field("Data Exch. Def Code"; Rec."Data Exch. Def Code") { ApplicationArea = Basic, Suite; ToolTip = 'Specifies a code that identifies the data exchange definition.'; } field("Code"; Rec.Code) { ApplicationArea = Basic, Suite; ToolTip = 'Specifies the line in the file.'; } field(Name; Rec.Name) { ApplicationArea = Basic, Suite; ToolTip = 'Specifies the name of the mapping setup.'; } field("Column Count"; Rec."Column Count") { ApplicationArea = Basic, Suite; ToolTip = 'Specifies how many columns the line in the bank statement file has.'; } field(Namespace; Rec.Namespace) { ApplicationArea = Basic, Suite; Editable = IsXMLFileType and IsBankStatementImportType; ToolTip = 'Specifies the namespace (uniform resource name (urn)) for a target document that is expected in the file for validation. You can leave the field blank if you do not want to enable namespace validation.'; } } } } actions { } trigger OnAfterGetCurrRecord() var DataExchDef: Record "Data Exch. Def"; begin DataExchDef.Get(Rec."Data Exch. Def Code"); IsBankStatementImportType := DataExchDef.CheckEnableDisableIsBankStatementImportType(); IsXMLFileType := not DataExchDef.CheckEnableDisableIsNonXMLFileType(); if (not IsXMLFileType) or (not IsBankStatementImportType) then Rec.Namespace := ''; end; var IsBankStatementImportType: Boolean; IsXMLFileType: Boolean;}