Table extension 20523 Subc. DirectTrans. Line Ext
src/Apps/W1/Subcontracting/App/src/Transfer/SubcDirectTransLineExt.TableExt.al88 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.Inventory.Transfer;using Microsoft.Manufacturing.Document;using Microsoft.Manufacturing.Routing;using Microsoft.Manufacturing.WorkCenter;tableextension 20523 "Subc. DirectTrans. Line Ext" extends "Direct Trans. Line"{ AllowInCustomizations = AsReadOnly; fields { field(20530; "Subcontr. Purch. Order No."; Code[20]) { Caption = 'Subcontr. Purch. Order No.'; DataClassification = CustomerContent; } field(20531; "Subcontr. PO Line No."; Integer) { Caption = 'Subcontr. Purch. Order Line No.'; DataClassification = CustomerContent; } field(20532; "Prod. Order No."; Code[20]) { Caption = 'Prod. Order No.'; DataClassification = CustomerContent; TableRelation = "Production Order"."No." where(Status = const(Released)); } field(20533; "Prod. Order Line No."; Integer) { Caption = 'Prod. Order Line No.'; DataClassification = CustomerContent; TableRelation = "Prod. Order Line"."Line No." where(Status = const(Released), "Prod. Order No." = field("Prod. Order No.")); } field(20534; "Prod. Order Comp. Line No."; Integer) { Caption = 'Prod. Order Comp. Line No.'; DataClassification = CustomerContent; TableRelation = "Prod. Order Component"."Line No." where(Status = const(Released), "Prod. Order No." = field("Prod. Order No."), "Prod. Order Line No." = field("Prod. Order Line No.")); } field(20535; "Routing No."; Code[20]) { Caption = 'Routing No.'; DataClassification = CustomerContent; TableRelation = "Routing Header"; } field(20536; "Routing Reference No."; Integer) { Caption = 'Routing Reference No.'; DataClassification = CustomerContent; } field(20537; "Work Center No."; Code[20]) { Caption = 'Work Center No.'; DataClassification = CustomerContent; TableRelation = "Work Center"; } field(20538; "Operation No."; Code[10]) { Caption = 'Operation No.'; DataClassification = CustomerContent; TableRelation = "Prod. Order Routing Line"."Operation No." where(Status = const(Released), "Prod. Order No." = field("Prod. Order No."), "Routing No." = field("Routing No.")); } field(20539; "Return Order"; Boolean) { Caption = 'Return Order'; DataClassification = CustomerContent; Editable = false; } field(20560; "Transfer WIP Item"; Boolean) { Caption = 'Transfer WIP Item'; DataClassification = CustomerContent; Editable = false; ToolTip = 'Specifies whether this transfer shipment line represents a WIP item transfer.'; } }}