Table extension 99000777 Mfg. Reg Invt Movement Hdr

Base Application, Microsoft.Warehouse.InventoryDocument

src/Layers/W1/BaseApp/Manufacturing/Warehouse/InventoryDocument/MfgRegInvtMovementHdr.TableExt.al24 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.Warehouse.InventoryDocument;using Microsoft.Manufacturing.Document;using Microsoft.Manufacturing.Family;tableextension 99000777 "Mfg. Reg Invt Movement Hdr" extends "Registered Invt. Movement Hdr."{    fields    {        modify("Source No.")        {            TableRelation = if ("Source Type" = const(5405)) "Production Order"."No." where(Status = filter(Released | Finished),                                                                                            "No." = field("Source No."));        }        modify("Destination No.")        {            TableRelation = if ("Destination Type" = const(Family)) Family;        }    }}