Page 20425 Qlty. Inspection Activities

Quality Management, Microsoft.QualityManagement.RoleCenters

src/Apps/W1/Quality Management/app/src/RoleCenters/QltyInspectionActivities.Page.al69 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.QualityManagement.RoleCenters;using Microsoft.QualityManagement.Document;page 20425 "Qlty. Inspection Activities"{    Caption = 'Activities';    PageType = CardPart;    RefreshOnActivate = true;    SourceTable = "Qlty. Mgmt. Role Center Cue";    ApplicationArea = QualityManagement;    Permissions = TableData "Qlty. Mgmt. Role Center Cue" = i;    layout    {        area(Content)        {            cuegroup("Current Inspections")            {                Caption = 'Current Inspections';                field("Unassigned Inspections"; Rec."Unassigned Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }                field("My Open Inspections"; Rec."My Open Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }                field("My Open and Due Inspections"; Rec."My Open and Due Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }                field("All Open Inspections"; Rec."All Open Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }                field("All Open and Due Inspections"; Rec."All Open and Due Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }            }            cuegroup("Finished Inspections")            {                Caption = 'Finished Inspections';                field("My Finished Inspections"; Rec."My Finished Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }                field("All Finished Inspections"; Rec."All Finished Inspections")                {                    DrillDownPageId = "Qlty. Inspection List";                }            }        }    }    trigger OnInit()    begin        if not Rec.Get() then            if Rec.Insert() then;    end;}