Table extension 6454 Serv. Stockkeeping Unit

App
Base Application
Namespace
Microsoft.Inventory.Location
Versions
25-28
Extends
Stockkeeping Unit

Fields, 1

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Service/Inventory/Location/ServStockkeepingUnit.TableExt.al31 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.Location;

using Microsoft.Service.Document;

tableextension 6454 "Serv. Stockkeeping Unit" extends "Stockkeeping Unit"
{
    fields
    {
        field(5901; "Qty. on Service Order"; Decimal)
        {
            AutoFormatType = 0;
            CalcFormula = sum("Service Line"."Outstanding Qty. (Base)" where("Document Type" = const(Order),
                                                                              Type = const(Item),
                                                                              "No." = field("Item No."),
                                                                              "Location Code" = field("Location Code"),
                                                                              "Variant Code" = field("Variant Code"),
                                                                              "Shortcut Dimension 1 Code" = field("Global Dimension 1 Filter"),
                                                                              "Shortcut Dimension 2 Code" = field("Global Dimension 2 Filter"),
                                                                              "Needed by Date" = field("Date Filter")));
            Caption = 'Qty. on Service Order';
            DecimalPlaces = 0 : 5;
            Editable = false;
            FieldClass = FlowField;
        }
    }
}