Page extension 99000774 Mfg. Item Avail. by UOM Lines, source in 29
Source29
src/Layers/W1/BaseApp/Manufacturing/Inventory/Availability/MfgItemAvailByUOMLines.PageExt.al56 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;
using Microsoft.Manufacturing.Document;
pageextension 99000774 "Mfg. Item Avail. by UOM Lines" extends "Item Avail. by UOM Lines"
{
layout
{
addafter(QtyAvailable)
{
#pragma warning disable AA0100
field("Item.""Scheduled Receipt (Qty.)"""; AdjustQty(Item."Scheduled Receipt (Qty.)"))
#pragma warning restore AA0100
{
ApplicationArea = Basic, Suite;
AutoFormatType = 0;
Caption = 'Scheduled Receipt (Qty.)';
DecimalPlaces = 0 : 5;
Editable = false;
ToolTip = 'Specifies how many units of the item are scheduled for production orders. The program automatically calculates and updates the contents of the field, using the Remaining Quantity field on production order lines.';
Visible = false;
trigger OnDrillDown()
var
ProdOrderAvailabilityMgt: Codeunit "Prod. Order Availability Mgt.";
begin
ProdOrderAvailabilityMgt.ShowSchedReceipt(Item);
end;
}
#pragma warning disable AA0100
field("Item.""Scheduled Need (Qty.)"""; AdjustQty(Item."Qty. on Component Lines"))
#pragma warning restore AA0100
{
ApplicationArea = Basic, Suite;
AutoFormatType = 0;
Caption = 'Qty. on Component Lines';
DecimalPlaces = 0 : 5;
Editable = false;
ToolTip = 'Specifies the sum of items from planned production orders.';
Visible = false;
trigger OnDrillDown()
var
ProdOrderAvailabilityMgt: Codeunit "Prod. Order Availability Mgt.";
begin
ProdOrderAvailabilityMgt.ShowSchedNeed(Item);
end;
}
}
}
}