Page extension 6476 Serv. ItemAvailbyVariantLines

App
Base Application
Namespace
Microsoft.Inventory.Availability
Versions
25-28
Extends
Item Avail. by Variant Lines

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Service/Inventory/Availability/ServItemAvailbyVariantLines.PageExt.al33 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.Inventory.Availability;

pageextension 6476 "Serv. ItemAvailbyVariantLines" extends "Item Avail. by Variant Lines"
{
    layout
    {
        addafter("Item.""Qty. on Sales Order""")
        {
#pragma warning disable AA0100
            field("Item.""Qty. on Service Order"""; Item."Qty. on Service Order")
#pragma warning restore AA0100
            {
                ApplicationArea = Planning;
                Caption = 'Qty. on Service Order';
                DecimalPlaces = 0 : 5;
                ToolTip = 'Specifies how many units of the item are allocated to service orders, meaning listed on outstanding service order lines.';
                Visible = false;

                trigger OnDrillDown()
                var
                    ServAvailabilityMgt: Codeunit Microsoft.Service.Document."Serv. Availability Mgt.";
                begin
                    ServAvailabilityMgt.ShowServiceLines(Item);
                end;
            }
        }
    }
}