web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins

(0) ShareShare
ReportReport
Posted on by 3,177
Hello Community
We have a batch job with description /OptimizeDateEffectiveEntities/ and it runs every 5 mins and it marked as critical job.
I am positive that is a standard batch job that is automatically scheduled.
In batch Tasks -> Class name is empty
And so every time it runs, an error is thrown
 
Batch task failed: Unable to construct an object from the class '' (Class Number '98807' Job Id '5638112076' ) in the batch framework. Make sure that the X++ code has been compiled to Microsoft .NET Framework CIL, and that the constructor does not require any parameters.
 
Any insights would be helpful.
Can i safely turn it OFF ?
 
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    Are you running multiple batch servers? There are old threads with similar problems to yours, you can refer to the suggestions in the old threads, try to restart AOS, etc.  Hope these will give you some hints.
    Solved: RunBaseBatch job giving error (dynamics.com)
    Could anyone help ! I'm getting the following error when i add a batch on my class. (dynamics.com)
    Ax2012 Compile RunBaseBatch Class to CIL Error (dynamics.com)

  • San Artham Profile Picture
    3,177 on at
    Hi Hana
     
    But this issue is in D365 F&O Prod env and regularly the env gets a new build package (which is precompiled).
    Based on the Job history, i see it has been failing a for long time.
     
    Thanks
    San
  • Verified answer
    Guy Terry Profile Picture
    29,028 Moderator on at
    If you have updated to 10.0.38, you can set this batch job to Withhold, or delete it. There's an 913481 on LCS Issue Search describes that this Batch job is no longer needed with 10.0.38.
  • Rafael Araujo Profile Picture
    193 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 109 Super User 2026 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 100 Super User 2026 Season 2

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans