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

Community site session details

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

Value was either too small or too large for a Decimal

(0) ShareShare
ReportReport
Posted on by 194

Hello,

We are running NAV 2018, Build 29745.

We encountered “Value was either too small or too large for a Decimal” error message when running the Adjust Cost-Item Entries batch job.

After we modified COD 5895 (in procedure AvgValueEntriesToAdjustExist) as modified in cumulative update 19 the problem was not resolved.

Are there other modifications that must be done?

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Value was either too small or too large for a Decimal

    Hello,

    This is fixed in a later CU:
    https://support.microsoft.com/en-us/help/4511344/cumulative-update-19-for-microsoft-dynamics-nav-2018-build-33812

    313010

    "Value was either too small or too large for a Decimal" error message displays when you run the Adjust Cost-Item Entries batch job for an item with the average costing method and transfer entries.

    Inventory

    COD 5895

    Thanks.

  • Galina Georgieva Profile Picture
    194 on at
    RE: Value was either too small or too large for a Decimal

    We have made the changes in COD 5895 from this update, but the error persists. Are there any other updates regarding this error?

    Or are there any other objects that must be modified?

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Value was either too small or too large for a Decimal

    Hello,

    For that fix it is the only object. Do you have a repro in standard with latest CU or at least CU19? You are running an older build so if you submit a supprort request to MSFT, it will probably the ask to do.

    Thanks. 

  • Patcharin Profile Picture
    10 on at
    RE: Value was either too small or too large for a Decimal

    Have you found a solution yet? I got an error same as you. help me please.

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,377

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans