Page 5209 Employee Relatives

Base Application, Microsoft.HumanResources.Employee

src/Layers/W1/BaseApp/HumanResources/Employee/EmployeeRelatives.Page.al101 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.HumanResources.Employee;using Microsoft.HumanResources.Comment;page 5209 "Employee Relatives"{    AutoSplitKey = true;    Caption = 'Employee Relatives';    DataCaptionFields = "Employee No.";    PageType = List;    SourceTable = "Employee Relative";    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("Relative Code"; Rec."Relative Code")                {                    ApplicationArea = BasicHR;                }                field("First Name"; Rec."First Name")                {                    ApplicationArea = BasicHR;                }                field("Middle Name"; Rec."Middle Name")                {                    ApplicationArea = BasicHR;                    Visible = false;                }                field("Last Name"; Rec."Last Name")                {                    ApplicationArea = BasicHR;                    ToolTip = 'Specifies the last name of the employee''s relative.';                }                field("Birth Date"; Rec."Birth Date")                {                    ApplicationArea = BasicHR;                }                field("Phone No."; Rec."Phone No.")                {                    ApplicationArea = BasicHR;                }                field("Relative's Employee No."; Rec."Relative's Employee No.")                {                    ApplicationArea = BasicHR;                    ToolTip = 'Specifies the relative''s employee number, if the relative also works at the company.';                    Visible = false;                }                field(Comment; Rec.Comment)                {                    ApplicationArea = Comments;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = true;            }        }    }    actions    {        area(navigation)        {            group("&Relative")            {                Caption = '&Relative';                Image = Relatives;                action("Co&mments")                {                    ApplicationArea = Comments;                    Caption = 'Co&mments';                    Image = ViewComments;                    RunObject = Page "Human Resource Comment Sheet";                    RunPageLink = "Table Name" = const("Employee Relative"),                                  "No." = field("Employee No."),                                  "Table Line No." = field("Line No.");                    ToolTip = 'View or add comments for the record.';                }            }        }    }}