Page 9041 Shop Supervisor Activities

Base Application, Microsoft.Manufacturing.RoleCenters

src/Layers/W1/BaseApp/Manufacturing/RoleCenters/ShopSupervisorActivities.Page.al131 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.RoleCenters;using Microsoft.Foundation.Navigate;using Microsoft.Manufacturing.Document;using Microsoft.Manufacturing.Journal;using Microsoft.Warehouse.Activity;page 9041 "Shop Supervisor Activities"{    Caption = 'Activities';    PageType = CardPart;    RefreshOnActivate = true;    SourceTable = "Manufacturing Cue";    layout    {        area(content)        {            cuegroup("Production Orders")            {                Caption = 'Production Orders';                field("Planned Prod. Orders - All"; Rec."Planned Prod. Orders - All")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Planned Production Orders";                }                field("Firm Plan. Prod. Orders - All"; Rec."Firm Plan. Prod. Orders - All")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Firm Planned Prod. Orders";                }                field("Released Prod. Orders - All"; Rec."Released Prod. Orders - All")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Released Production Orders";                }                actions                {                    action("Change Production Order Status")                    {                        ApplicationArea = Manufacturing;                        Caption = 'Change Production Order Status';                        RunObject = Page "Change Production Order Status";                        ToolTip = 'Change the production order to another status, such as Released.';                    }                    action("Update Unit Cost")                    {                        ApplicationArea = Manufacturing;                        Caption = 'Update Unit Cost';                        RunObject = Report "Update Unit Cost";                    }                    action(Navigate)                    {                        ApplicationArea = Manufacturing;                        Caption = 'Find entries...';                        RunObject = Page Navigate;                        ShortCutKey = 'Ctrl+Alt+Q';                        ToolTip = 'Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.)';                    }                }            }            cuegroup(Operations)            {                Caption = 'Operations';                field("Prod. Orders Routings-in Queue"; Rec."Prod. Orders Routings-in Queue")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Prod. Order Routing";                }                field("Prod. Orders Routings-in Prog."; Rec."Prod. Orders Routings-in Prog.")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Prod. Order Routing";                }                actions                {                    action("Consumption Journal")                    {                        ApplicationArea = Manufacturing;                        Caption = 'Consumption Journal';                        RunObject = Page "Consumption Journal";                        ToolTip = 'Post the consumption of material as operations are performed.';                    }                    action("Output Journal")                    {                        ApplicationArea = Manufacturing;                        Caption = 'Output Journal';                        RunObject = Page "Output Journal";                        ToolTip = 'Post finished end items and time spent in production. ';                    }                }            }            cuegroup("Warehouse Documents")            {                Caption = 'Warehouse Documents';                field("Invt. Picks to Production"; Rec."Invt. Picks to Production")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Inventory Picks";                }                field("Invt. Put-aways from Prod."; Rec."Invt. Put-aways from Prod.")                {                    ApplicationArea = Manufacturing;                    DrillDownPageID = "Inventory Put-aways";                }            }        }    }    actions    {    }    trigger OnOpenPage()    begin        Rec.Reset();        if not Rec.Get() then begin            Rec.Init();            Rec.Insert();        end;        Rec.SetRange("User ID Filter", UserId);    end;}