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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Adjust Cost - Item Entry job errors

(0) ShareShare
ReportReport
Posted on by 65

Hi everyone,

We have a job set up to run the object id 7995 (Adjust Cost - Item Entries) every night and have been running into errors the past 2 nights which prevented us from completing it. In general, we've also been experiencing long processing times of 7-12 hours to complete the job when run on a weekly basis, and 3-4 when run on a daily. Any ideas on either optimizing this (such as splitting the job across item types, etc) or how to solve the below errors?

Error 1 - Attempted to divide by 0. This occurred after 2.5 hours but did not link a related record to the error.

Error 2 - A connection to SQL Server is no longer usable. This could be caused by one of the following reasons: * The server has been shut down manually or because of an error. * The SQL Server connection settings are not correct. * 

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    It could be that you have some performance issues on your SQL server. I recommend you start monitoring your SQL server when you start the adjust cost job.

    There could be a hardware bottleneck or there can be missing statistics for indexes on your sql server.

    That is the first place i would start to investigate a case like this.

  • Suggested answer
    YUN ZHU Profile Picture
    95,321 Super User 2025 Season 2 on at

    Hi, I suggest you use the function below to test what programs are particularly slow.
    If this is related to customizations, you need to investigate your customizations. If it's a standard question, you can submit it to Microsoft.

    In-client performance profiler

    https://yzhums.com/23121/

    pastedimage1675293893279v1.png

    PS: The following is the data shared by Microsoft in a certain event. If your data volume does not exceed this, I don't think there will be a problem.

    pastedimage1675293988619v2.png

    Hope this helps as well.

    Thanks.

    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,316

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,449 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,431 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans