Page extension 20548 Subc. Finished Prod. Order
src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcFinishedProdOrder.PageExt.al70 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.Ledger;using Microsoft.Manufacturing.Document;using Microsoft.Purchases.Document;pageextension 20548 "Subc. Finished Prod. Order" extends "Finished Production Order"{ actions { addafter("Registered Put-away Lines") { action("Subcontracting Purchase Lines") { ApplicationArea = Subcontracting; Caption = 'Subcontracting Order Lines'; Image = SubcontractingWorksheet; RunObject = page "Purchase Lines"; RunPageLink = "Document Type" = const(Order), "Prod. Order No." = field("No."); ToolTip = 'Show purchase order lines for subcontracting.'; } action("Subc. Transfer Orders") { ApplicationArea = Subcontracting; Caption = 'Subcontracting Transfer Orders'; Image = TransferOrder; ToolTip = 'View the subcontracting transfer orders related to this production order.'; trigger OnAction() var SubcPurchFactboxMgmt: Codeunit "Subc. Purch. Factbox Mgmt."; begin SubcPurchFactboxMgmt.ShowTransferOrdersFromProductionOrder(Rec); end; } } addafter("&Warehouse Entries") { action("Subc. Transfer Entries") { ApplicationArea = Subcontracting; Caption = 'Subcontracting Transfer Entries'; Image = ItemLedger; RunObject = page "Item Ledger Entries"; RunPageLink = "Entry Type" = const(Transfer), "Subc. Prod. Order No." = field("No."); RunPageView = sorting("Order Type", "Order No."); ToolTip = 'View the list of subcontracting transfers.'; } action("WIP Ledger Entries") { ApplicationArea = Subcontracting; Caption = 'Subcontracting WIP Entries'; Image = LedgerEntries; RunObject = page "Subc. WIP Ledger Entries"; RunPageLink = "Prod. Order Status" = field(Status), "Prod. Order No." = field("No."); ToolTip = 'View the Subcontracting WIP Entries for this production order.'; } } addlast(Category_Entries) { actionref("Subc. Transfer Entries_Promoted"; "Subc. Transfer Entries") { } actionref("WIP Ledger Entries_Promoted"; "WIP Ledger Entries") { } } }}