Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Overflow under conversion of

(3) ShareShare
ReportReport
Posted on by 158

If requesting support, please provide the following details to help troubleshooting:

Overflow under conversion of Microsoft.Dynamics.Nav.Runtime.Decimal18 value 29.25 to System.Int32.

Page New - Purchase Quote - 1075 ∙ Fabrikam, Inc. has to close.

Internal session ID:
a98ac458-887e-4509-96de-fcfa272d29ee

Application Insights session ID:
f2ca7f8d-7f8a-4eff-8bc8-0c5c814a8a20

Client activity id:
5de0ec3d-f055-458b-b686-d9ddcf3c8777

Time stamp on error:
2024-03-23T10:06:47.8480049Z

User telemetry id:
2a9a1b9a-c448-48fc-bded-a78d61c9d9fb

AL call stack:
/KSP Purchase Quote Subform LPP/(PageExtension 60145).totalSRBAmount line 8 - pakistan_localization_oncloud by Kaispe

how to resolve this issue in purchase quote? I also use round function but it doenot work 

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 76,788 Super User 2025 Season 1 on at
    Overflow under conversion of
    Hi, I suggest you debug it. It seems to be a problem with mathematical calculation formulas.
    The code is in PageExtension 60145.
     
    Hope this helps.
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 13,556 Most Valuable Professional on at
  • Suggested answer
    Ram Pranav Profile Picture
    Ram Pranav 50 on at
    Overflow under conversion of
    Round(<value>, 1, '=');
     
    Ensure your round function resemble like above. The precision is 1. This will round off the decimal value and give us an integer value. 
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 13,249 Super User 2025 Season 1 on at
    Overflow under conversion of
    Hi @Alina,
     
    can you share with us the code of page extension ?
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans