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 :
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,161 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
    98,233 Super User 2026 Season 1 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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,055 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,014 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans