The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Batch jobs are very useful to do recurring and back end jobs to achieve the requirements. Different batch jobs are written for different purposes. There are two standard Batch Jobs in Dynamics AX that are as follows:
Sometimes, these two batch jobs are missed in the Batch job form in Systems Administration. I have been victim of this and after finding out the reason why these jobs are missing from the form Batch job, I came across the solution which I have applied in Microsoft Dynamics AX 2012, and the problem was solved.
There are many reason for their disappearance. The reasons are as follows:
It is not possible to add the batch jobs manually in the list again. To solve this problem, you can run a checklist and start the Synchronize task, but this will be time consuming.
The other workaround is that we will comment a line in the default class of Dynamics AX 2012 i.e. SysSecurityDynamicRoleAssignment class. And then we will create a job and run it. See the steps as follows:
//Author: Moeen Ahmed Sultan
//Tel: +92 321 458 9595
//Go to SysSecurityDynamicRoleAssignment class
//Go to createBatchJob function
//Find out the below code
//select firstonly BatchJobId from batch where batch.ClassNumber == classNum(SysSecurityDynamicRoleAssignment) &&
// batch.CreatedBy == curUserId() && batch.DataPartition == getcurrentpartition();
//Comment the condition after &&
//Run the CreateStandardBatchJobs job
//Revert/uncomment the commented code
static void CreateStandardBatchJobs(Args _args)
info("Standard batch jobs created successfully.");
The two standard batch jobs will be inserted in the Batch table again and will be shown in the form Batch jobs again.
If you find better solution or any ambiguity in the article. Please comment!
GitHub: Click here
It does not matter how slowly you go as long as you do not stop. – Confucius
The post Automatic role assignment and named user license count reports processing batch job appeared first on NevoiTech Blog.
Business Applications communities