Hi All,
I want to use the extended standard class WHSWorkControllerExt class as a batch task in my batch job. I have decorated with the class using the attribute [SysOperationJournaledParametersAttribute(true) but i am getting the below error.
'report name is not set. please set report name using parmreportname method".
Please refer the code and suggest me how to solve this issue.
Thanks in advance.
///
/// This class is used for customizing the standard work report with the new design.
///
[SysOperationJournaledParametersAttribute(true)]
public class WHSWorkControllerExt extends WHSWorkController
{
public static WHSWorkControllerExt construct()
{
return new WHSWorkControllerExt();
}
public static void main(Args _args)
{
SrsReportRunController controller = WHSWorkControllerExt::construct();
controller.parmReportName(ssrsReportStr(WHSWorkExt, Report));
controller.parmArgs(_args);
controller.startOperation();
}
///
///
///
protected void preRunModifyContract()
{
this.parmReportContract().parmReportName(ssrsReportStr(WHSWorkExt, Report));
super();
}
}