

Hi All,
I want to disable the functionality of Reports as in first screenshot and retain the functionality of Reports as in the second one.
Following is the AL code used -
actions
{
// Adds the action called "My Actions" to the Action menu
addafter("Absence Registration")
{
group("Reports")
{
group("Employee Reports")
{
action("Employee-All")
{
Promoted = true;
PromotedCategory = Report;
ApplicationArea = All;
trigger OnAction()
begin
myEmployeeAllReport.run()
end;
}
action("Employee-Birthday")
{
Promoted = true;
PromotedCategory = Report;
ApplicationArea = All;
trigger OnAction()
begin
myEmployeeBirthdayReport.run()
end;
}
action("Employee-Confidential Information")
{
Promoted = true;
PromotedCategory = Report;
ApplicationArea = All;
trigger OnAction()
begin
myEmployeeConfidentialInfoReport.run()
end;
}
action("Employee-Comments")
{
Promoted = true;
PromotedCategory = Report;
ApplicationArea = All;
trigger OnAction()
begin
myEmployeeCommentsReport.run()
end;
}
}
}
}
}
Please suggest how to achieve this.
Thanks!