Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Updating Currency Field In Plugin Error

Posted on by 195

Hi,

     While updating the currency field i'm getting the following error

A validation error occurred.  The value of 'discount amount' on record of type 'invoice' is outside the valid range.;  

I'm updating through the following code

Money mn = new Money((decimal)12.00);


The given input is within the minimum value and maximum value.How to rectify this error?any help guys

Thanks and Regards,

Aldous Huxley V

      

*This post is locked for comments

  • Psyionic Profile Picture
    Psyionic 195 on at
    RE: Updating Currency Field In Plugin Error

    Hi Aldous Huxley V,

    Can you please send a screenshot of this field with it Minimum and Maximum values? Also can you provide the full code that you are using and full error trace?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Updating Currency Field In Plugin Error

    Hello,

    Can you please provide your full code and screenshot of customization window discount amount 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans