Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Answered

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

Posted on by 3,175
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 ?
 
  • Rafael Araujo Profile Picture
    Rafael Araujo 170 on at
    Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins
  • Verified answer
    Guy Terry Profile Picture
    Guy Terry 28,506 Super User 2024 Season 2 on at
    Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins
    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.
  • San Artham Profile Picture
    San Artham 3,175 on at
    Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins
    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
  • Suggested answer
    Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Batch Job OptimizeDateEffectiveEntities fails every time and it runs every 5 mins
    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)

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans