I need to add some custom fields in External customer account statement report. I have added them and it is printed in my report but I am facing an issue, when ever I click on the report it prints the report for all customers. It does not ask for any parameters. I have created a controller class which extends the standard controller class and I have create an extension for the standard report menuitem and pointed to my custom report. can anyone help me to find out where I am doing it wrong.
{
public static NESCustAccountStatementExtController construct()
{
return new NESCustAccountStatementExtController ();
}
{
SrsPrintMgmtFormLetterController controller = new NESCustAccountStatementExtController ();
controller.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::CustAccountStatement).getDefaultReportFormat());
controller.parmArgs(_args);
NESCustAccountStatementExtController ::startControllerOperation(controller, _args);
}
{
_controller.startOperation();
}