class TRGBatchService extends SysOperationServiceBase
{
/// <summary>
///
/// </summary>
///
//[SysEntryPoint(false)]
private void processCode()
{
Info("Test");
}
}
class TRGBatchController extends sysOperationServiceController
{
public static void main(Args args)
{
TRGBatchController controller = new TRGBatchController(classStr(TRGBatchService),methodStr(TRGBatchService,processCode),SysOperationExecutionMode::Synchronous);
controller.startOperation();
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public ClassDescription caption()
{
ClassDescription ret;
ret ="Operation batch job";
return ret;
}
}
class TRGBatchController extends sysOperationServiceController
{
public static void main(Args args)
{
TRGBatchController controller = new TRGBatchController(classStr(TRGBatchService),methodStr(TRGBatchService,processCode),SysOperationExecutionMode::Synchronous);
controller.startOperation();
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public ClassDescription caption()
{
ClassDescription ret;
ret ="Operation batch job";
return ret;
}
}
Very good explanation. Thank you for sharing.
ReplyDeleteD365 AX Online Training
d365 ax technical online training
d365 ax technical training