Table extension 20504 Subc. Cap Ledger Entry Ext.
src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcCapLedgerEntryExt.TableExt.al35 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.Manufacturing.Subcontracting;using Microsoft.Manufacturing.Capacity;using Microsoft.Purchases.Document;tableextension 20504 "Subc. Cap Ledger Entry Ext." extends "Capacity Ledger Entry"{ AllowInCustomizations = AsReadOnly; fields { field(20500; "Subc. Subcontractor No."; Code[20]) { Caption = 'Subcontractor No.'; DataClassification = CustomerContent; } field(20512; "Subc. Purch. Order No."; Code[20]) { Caption = 'Subc. Purch. Order No.'; DataClassification = CustomerContent; TableRelation = "Purchase Header"."No." where("Document Type" = const(Order)); } field(20513; "Subc. Purch. Order Line No."; Integer) { Caption = 'Subc. Purch. Order Line No.'; DataClassification = CustomerContent; TableRelation = "Purchase Line"."Line No." where("Document Type" = const(Order), "Document No." = field("Subc. Purch. Order No.")); } }}