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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Validation error on saving opportunity: "prioritycode" outside the valid range

(0) ShareShare
ReportReport
Posted on by 1,328

Every so often when we try and link/sync a quote with CRM we get the below error message.  It tends to only happen with old opportunities (anything created in 2015).  I've opened cases with Quosal Support but have been told that it is an issue with our CRM provider.

Error Saving Opportunity

A validation error occurred. The value of 'prioritycode' on record of type 'opportunity' is outside the valid range. 

2318.pastedImage.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    Please check the prioritycode field in Opportunity.

    Check the value of this field, whether you are assigning a valid value.

  • epark06 Profile Picture
    1,328 on at

    [quote user="Gopalan Bhuvanesh"]

    Hi

    Please check the prioritycode field in Opportunity.

    Check the value of this field, whether you are assigning a valid value.

    [/quote]

    I've narrowed down the issue in XMLToolBox. The prioritycode for this particular opportunity record is for some reason set to '1', but it needs to be changed to '100000000' because that is the correct value for the picklist option, as shown here. How would I do this?

    prioritycode.png

  • Gopalan Bhuvanesh Profile Picture
    11,401 on at

    You have only one record with this value?

    Or multiple records?

    Do you see the record in the Views?

    Are you able to open the record in the form?

  • Verified answer
    epark06 Profile Picture
    1,328 on at

    I have multiple opportunity records with this '1' value. I figured it out by going into Bulk Data Updater in XRMToolbox and using FetchXML to retrieve the records I need to update. Worked like a charm!

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans