Hi All,
I have created a list part page in which the details of the resources whose time sheet approver User ID is same as that of the logged in user.
But, in the page I have created, no data is getting displayed.
Could anyone please suggest a possible solution to achieve the same !
Thanks in advance !
Attached is the source code.
page 50176 "Reporting to Me"
{
Caption = 'Reporting to Me';
PageType = ListPart;
SourceTable = Employee;
RefreshOnActivate = true;
ApplicationArea = All;
UsageCategory = Administration;
layout
{
area(Content)
{
repeater(control1)
{
ShowCaption = false;
field("Employee ID"; "No.")
{
Visible = true;
ApplicationArea = Jobs;
//Caption = 'Reporting to Me';
// DrillDownPageId = "Employee List";
trigger OnValidate()
begin
GetEmployee;
end;
}
field("First Name"; "First Name")
{
ApplicationArea = Jobs;
}
field("Last Name"; "Last Name")
{
ApplicationArea = Jobs;
}
field(Location; Location)
{
ApplicationArea = Jobs;
}
field("Job Title"; "Job Title")
{
ApplicationArea = Jobs;
}
field("Company Phone No."; "Phone No.")
{
ApplicationArea = Jobs;
}
field(Extension; Extension)
{
ApplicationArea = Jobs;
}
field("Employment Type"; EmploymentType)
{
ApplicationArea = Jobs;
}
field("Date of Birth"; "Birth Date")
{
ApplicationArea = Jobs;
}
field(Nationality; Nationality)
{
ApplicationArea = Jobs;
}
}
}
}