Page 5716 Item Substitution Entry

Base Application, Microsoft.Inventory.Item.Substitution

src/Layers/W1/BaseApp/Inventory/Item/Substitution/ItemSubstitutionEntry.Page.al102 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.Item.Substitution;page 5716 "Item Substitution Entry"{    Caption = 'Item Substitution Entry';    DataCaptionFields = "No.";    DelayedInsert = true;    PageType = List;    RefreshOnActivate = false;    SourceTable = "Item Substitution";    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("Variant Code"; Rec."Variant Code")                {                    ApplicationArea = Planning;                }                field("Substitute Type"; Rec."Substitute Type")                {                    ApplicationArea = Suite;                }                field("Substitute No."; Rec."Substitute No.")                {                    ApplicationArea = Suite;                }                field("Substitute Variant Code"; Rec."Substitute Variant Code")                {                    ApplicationArea = Planning;                    Visible = false;                }                field(Description; Rec.Description)                {                    ApplicationArea = Suite;                }                field(Interchangeable; Rec.Interchangeable)                {                    ApplicationArea = Suite;                }                field(Condition; Rec.Condition)                {                    ApplicationArea = Basic, Suite;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(processing)        {            action("&Condition")            {                ApplicationArea = Basic, Suite;                Caption = '&Condition';                Image = ViewComments;                RunObject = Page "Condition Entry";                RunPageLink = Type = field(Type),                              "No." = field("No."),                              "Variant Code" = field("Variant Code"),                              "Substitute Type" = field("Substitute Type"),                              "Substitute No." = field("Substitute No."),                              "Substitute Variant Code" = field("Substitute Variant Code");                ToolTip = 'Specify a condition for the item substitution, which is for information only and does not affect the item substitution.';            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Process';                actionref("&Condition_Promoted"; "&Condition")                {                }            }        }    }}