Page 99000758 Work Center Groups

Base Application, Microsoft.Manufacturing.WorkCenter

src/Layers/W1/BaseApp/Manufacturing/WorkCenter/WorkCenterGroups.Page.al135 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.Manufacturing.WorkCenter;using Microsoft.Manufacturing.Reports;page 99000758 "Work Center Groups"{    ApplicationArea = Manufacturing;    Caption = 'Work Center Groups';    PageType = List;    SourceTable = "Work Center Group";    UsageCategory = Administration;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("Code"; Rec.Code)                {                    ApplicationArea = Manufacturing;                }                field(Name; Rec.Name)                {                    ApplicationArea = Manufacturing;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(navigation)        {            group("Pla&nning")            {                Caption = 'Pla&nning';                Image = Planning;                action(Calendar)                {                    ApplicationArea = Manufacturing;                    Caption = 'Calendar';                    Image = MachineCenterCalendar;                    RunObject = Page "Work Ctr. Group Calendar";                    ToolTip = 'Open the shop calendar.';                }                action("Lo&ad")                {                    ApplicationArea = Manufacturing;                    Caption = 'Lo&ad';                    Image = WorkCenterLoad;                    RunObject = Page "Work Center Group Load";                    RunPageLink = Code = field(Code),                                  "Date Filter" = field("Date Filter"),                                  "Work Shift Filter" = field("Work Shift Filter");                    ToolTip = 'View the availability of the machine or work center, including its capacity, the allocated quantity, availability after orders, and the load in percent of its total capacity.';                }            }        }        area(reporting)        {#if not CLEAN27            action("Work Center Load")            {                ApplicationArea = Manufacturing;                Caption = 'Work Center Load';                Image = "Report";                RunObject = Report "Work Center Load";                ToolTip = 'Get an overview of availability at the work center, such as the capacity, the allocated quantity, availability after order, and the load in percent.';                ObsoleteState = Pending;                ObsoleteReason = 'This report has been replaced by the "Work/Machine Center Load" report and will be removed in a future release.';                ObsoleteTag = '27.0';            }            action("Work Center Load/Bar")            {                ApplicationArea = Manufacturing;                Caption = 'Work Center Load/Bar';                Image = "Report";                //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'                //PromotedCategory = "Report";                RunObject = Report "Work Center Load/Bar";                ToolTip = 'View a list of work centers that are overloaded according to the plan. The efficiency or overloading is shown by efficiency bars.';                ObsoleteState = Pending;                ObsoleteReason = 'This report has been replaced by the "Work/Machine Center Load" report and will be removed in a future release.';                ObsoleteTag = '27.0';            }#endif            action("Work/Machine Center Load")            {                ApplicationArea = Manufacturing;                Caption = 'Work/Machine Center Load';                Image = "Report";                RunObject = Report "Work/Machine Center Load";            }        }        area(Promoted)        {            group(Category_Report)            {                Caption = 'Reports';#if not CLEAN27                actionref("Work Center Load_Promoted"; "Work Center Load")                {                    ObsoleteState = Pending;                    ObsoleteReason = 'This report has been replaced by the "Work/Machine Center Load" report and will be removed in a future release.';                    ObsoleteTag = '27.0';                }#endif                actionref("Work/Machine Center Load_Promoted"; "Work/Machine Center Load")                {                }            }        }    }}