Start batch jobs automatically in Axapta
If somebody is looking for a way to automatically start an existing batch-job, here I will show you the simple way under Windows XP environment. Before we start, it is assumed you have the basic knowledge to set up batch jobs in Axapta.
Okey, here we go:
1. Create a Class with Extend sysstartupcmd it will look like this
class finalrun extends SysStartupCmd
{
Finalbatch finalbatch;
}
2. Create A inforun method in this class like this
void infoRun()
{
/*Creat your Logic Here*/
Info(“Job Running Correctly”) ;
}
3. Create a Configuration File From axapta utility.
4. Give your class name in it’s startupcommand Filed
If somebody is looking for a way to automatically start an existing batch-job, here I will show you the simple way under Windows XP environment. Before we start, it is assumed you have the basic knowledge to set up batch jobs in Axapta.
Okey, here we go:
1. Create a Class with Extend sysstartupcmd it will look like this
class finalrun extends SysStartupCmd
{
Finalbatch finalbatch;
}
2. Create A inforun method in this class like this
void infoRun()
{
/*Creat your Logic Here*/
Info(“Job Running Correctly”) ;
}
3. Create a Configuration File From axapta utility.
4. Give your class name in it’s startupcommand Filed
No comments:
Post a Comment