Hi,
In the below post you will see the sysoperation framework controller class which can be used to run the class form the controller class.
[SysOperationJournaledParametersAttribute(true)]
class MyclassController extends SysOperationServiceController
{
public static void main(Args args)
{
MyclassController controller;
controller = MyclassController::newFromArgs(args);
controller.startOperation();
}
public void new()
{
super();
this.parmClassName(classStr(MyclassService));
this.parmMethodName(methodStr(MyclassService, processClassMethod));
this.parmExecutionMode(SysOperationExecutionMode::Synchronous);
this.parmDialogCaption("@Label");
}
public ClassDescription caption()
{
return "@Label";
}
public static MyclassController newFromArgs(Args _args)
{
MyclassController controller;
controller = new MyclassController();
controller.initializeFromArgs(_args);
return controller;
}
}
In the below post you will see the sysoperation framework controller class which can be used to run the class form the controller class.
[SysOperationJournaledParametersAttribute(true)]
class MyclassController extends SysOperationServiceController
{
public static void main(Args args)
{
MyclassController controller;
controller = MyclassController::newFromArgs(args);
controller.startOperation();
}
public void new()
{
super();
this.parmClassName(classStr(MyclassService));
this.parmMethodName(methodStr(MyclassService, processClassMethod));
this.parmExecutionMode(SysOperationExecutionMode::Synchronous);
this.parmDialogCaption("@Label");
}
public ClassDescription caption()
{
return "@Label";
}
public static MyclassController newFromArgs(Args _args)
{
MyclassController controller;
controller = new MyclassController();
controller.initializeFromArgs(_args);
return controller;
}
}
Hi, Thanks for the blog.
ReplyDeleteHow about the Service class. And do you mind to share a sample scenario including query and filter based on the data we select.
Many thanks in advance