public static void main(Args _args)
{
BaseController controller = new BaseController();
// <GIN>
if (SysCountryRegionCode::isLegalEntityInCountryRegion([#isoIN]))
{
controller.parmArgs(_args);
controller.parmReportName(controller.getReportName());
}
else
{
// </GIN>
controller.parmReportName(_args.parm());
controller.parmArgs(_args);
// <GIN>
}
// </GIN>
if (controller.isInBatch())
{
controller.parmShowDialog(false);
controller.batchInfo().parmBatchExecute(true);
}
controller.startOperation();
}
__________
Create extension of "ReturnAcknowledgmentAndDocController " class, through COC trying to customized the code and call my report design.
[ExtensionOf(classStr(ReturnAcknowledgmentAndDocController))]
final class ReturnAcknowledgmentAndDocController_Extension{
public SRSCatalogItemName parmReportName(SRSCatalogItemName _reportName)
{
next parmReportName(_reportName);
// pass new Report here
reportName = ssrsReportStr(ReturnAcknowledgmentAndDocumentCopy, ReportCopy1);
return reportName;
}
}