In AX 2012 we run a job from AOT in non-prod and production environments. In D365 F&O we no longer have access to server or visual studio to run a job in non prod/prod. But, we have another way to execute a job.
In order to do this we can run the following url.
[D365FO main URL]/?cmp=[company]&mi=SysClassRunner&cls=[job/runnable class name]
Example :
In order to do this we can run the following url.
[D365FO main URL]/?cmp=[company]&mi=SysClassRunner&cls=[job/runnable class name]
Example :
https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=USMF&mi=SysClassRunner&cls=ShowInvoicedOrderCount
Change the URL and other parameters according to your requirement and paste it in chrome/IE and hit enter.
That's it.
@Rahul
Hi,
ReplyDeleteHow to run class with a method in it?
I need to run class BIHelper::PopulateSRAAnalysisEnums, it's a class to get all BaseEnums and put in table SRSAnaylysEnums.
However when using that trick, it says does not exist.
I type like this :
https://usnconeboxax1aos.cloud.onebox.dynamics.com/?cmp=USMF&mi=SysClassRunner&cls=BIHelper::PopulateSRSAnalysisEnums
Thanks,
Thanks for sharing valuable information.
ReplyDeleteD365 finance and operations
D365 finance and operations online training