Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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 | Talent 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