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 ?
 
I have the same question (0)
  • 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
    28,944 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
    185 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 1,072

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 227 Super User 2026 Season 1

#3
SoumitraforD365 Profile Picture

SoumitraforD365 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans