Table extension 6172 E-Doc. Sales Header
src/Apps/W1/EDocument/App/src/Extensions/EDocSalesHeader.TableExt.al32 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.Sales.Document;using Microsoft.eServices.EDocument;tableextension 6172 "E-Doc. Sales Header" extends "Sales Header"{ fields { field(6102; "E-Document Link"; Guid) { DataClassification = SystemMetadata; Editable = false; } } keys { key(EDocKey1; "E-Document Link") { } } internal procedure IsLinkedToEDoc(EDocumentToExclude: Record "E-Document"): Boolean begin exit(not IsNullGuid("E-Document Link") and ("E-Document Link" <> EDocumentToExclude.SystemId)); end;}