Dear Gentlemen,
i am creating a new batch job using x++ code, using the below code:
class IS_BatchClassTEst extends RunBaseBatch
{
boolean canGoBatchJournal()
{
return true;
}
public container pack()
{
return conNull();
}
//Returns the stored object for the batch to use
public boolean unpack(container packedClass)
{
return true;
}
//Determines whether to run on server or client
//True - Server; False - Client
public boolean runsImpersonated()
{
return true;
}
public void Run()
{
// info("Batch WOrking");
}
}
I was able to retrieve the class in Microsoft dynamics 365 but the code isn't executing.
When the status is ended, i don't get the results ( let's say an info message saying Batch Working).
can you please advise if i am missing something ? And if i can use main(Args _args) instead of run () ?
Regards,