Page 5735 Item Reference List

Base Application, Microsoft.Inventory.Item.Catalog

src/Layers/W1/BaseApp/Inventory/Item/Catalog/ItemReferenceList.Page.al122 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.Catalog;using Microsoft.Inventory.Reports;page 5735 "Item Reference List"{    ApplicationArea = Basic, Suite;    Caption = 'Item Reference List';    PageType = List;    AboutTitle = 'About Item Reference List';    AboutText = 'Manage item references by linking your item numbers to customer, vendor, or bar code identifiers, enabling accurate cross-referencing and streamlined entry on sales and purchase documents.';    SourceTable = "Item Reference";    UsageCategory = Lists;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("Reference No."; Rec."Reference No.")                {                    ApplicationArea = Basic, Suite;                }                field("Reference Type"; Rec."Reference Type")                {                    ApplicationArea = Basic, Suite;                }                field("Reference Type No."; Rec."Reference Type No.")                {                    ApplicationArea = Basic, Suite;                }                field("Item No."; Rec."Item No.")                {                    ApplicationArea = Basic, Suite;                }                field("Variant Code"; Rec."Variant Code")                {                    ApplicationArea = Planning;                }                field("Unit of Measure"; Rec."Unit of Measure")                {                    ApplicationArea = Basic, Suite;                }                field(Description; Rec.Description)                {                    ApplicationArea = Basic, Suite;                }                field("Starting Date"; Rec."Starting Date")                {                    ApplicationArea = Basic, Suite;                }                field("Ending Date"; Rec."Ending Date")                {                    ApplicationArea = Basic, Suite;                }                field("Description 2"; Rec."Description 2")                {                    ApplicationArea = Basic, Suite;                    Visible = false;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(Processing)        {            action(PrintLabel)            {                ApplicationArea = Basic, Suite;                Image = Print;                Caption = 'Print Label';                ToolTip = 'Print Label';                trigger OnAction()                var                    ItemReference: Record "Item Reference";                    ReferenceNoLabel: Report "Reference No Label";                begin                    ItemReference := Rec;                    CurrPage.SetSelectionFilter(ItemReference);                    ReferenceNoLabel.SetTableView(ItemReference);                    ReferenceNoLabel.RunModal();                end;            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Report';                actionref("Print Label"; PrintLabel)                {                }            }        }    }}