Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error inserting decimal number with 3 decimal places purchase lines

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to insert a decimal number with 3 decimal places but I'm getting the error that is not a acceptable value.

This happens in my page in the purchase lines part.

In my table Purchase Lines the field "PVP" is a decimal.

2768.image2.png

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error inserting decimal number with 3 decimal places purchase lines

    I have in that 5...

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Error inserting decimal number with 3 decimal places purchase lines

    Decimal precision can be set in DecimalPlaces property or in General Ledger Setup (for the amounts).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error inserting decimal number with 3 decimal places purchase lines

    table purchase line

    PVP - OnValidate()

    PVP - OnLookup()

    page puchase quote have the page purchase lines linked by a page called Purchase Quote Subform, where the field PVP don't have any code either

    PVP - OnValidate()

    PVP - OnLookup(VAR Text : Text) : Boolean

    PVP - OnDrillDown()

    PVP - OnAssistEdit()

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error inserting decimal number with 3 decimal places purchase lines

    No, debug cant find anything in this error...  And in the table field PVP there's no code, as the page don't have any code (trigger to validate or something related)

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Error inserting decimal number with 3 decimal places purchase lines

    Can you debug this? Is there code in the OnValidate of this field?

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,329 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans