Hello Experts ,
i want to create report in g/l account under the report action before detail trail balance , please find below screenshot also
it is not display my report before detail trail balance

kindly check my below code is correct or not
Report
*************
report 50101 Testreport
{
DefaultLayout = RDLC;
RDLCLayout = 'testmyreport.rdl';
UsageCategory = Administration;
ApplicationArea = All;
dataset
{
dataitem("G/L Account"; "G/L Account")
{
column("No_"; "No.") { }
column(Name; Name) { }
column(Income_Balance; "Income/Balance") { }
column(Account_Category; "Account Category") { }
column(Account_Subcategory_Descript_; "Account Subcategory Descript.") { }
}
}
}
Report page extension
***************************************
pageextension 50101 ReportForChartOfAccount extends "G/L Account Card"
{
actions
{
addafter("Trial Balance")
{
action(mytestreport)
{
ApplicationArea = all;
trigger OnAction()
begin
myReport.run()
end;
}
}
}
var
myreport: Report Testreport;
}