Tag Archives: Phone Call

One or more of the option value for the pick list are not in the range of the allowed values

We started getting following error in Dynamics CRM when converting phone call to opportunity last week.

“One or more of the option value for the pick list are not in the range of the allowed values”

image

We used to get the problem only when we select the option to close the relevant campaign response only.

Cause
After carefully looking and customization done over the last week or so we found that we have modified the Campaign Response Channel type code pick list and we have removed the value “Phone (value – 2) “

So Dynamics CRM when converting phone call to opportunity looks for channel type code with value 2 and since it is not able to find that value and it was throwing this error.

Solution
We exported the customization for this entity and open customization and modified the pick list option to add this phone call value again.

The reason you can not able do this CRM is that it will not allow you add new pick list value with values lesser than 200000 because CRM reserves pick list option till 20000 for future updates and other language pack but as we know the trick now (of course unsupported) to modify the xml.

Once we have added the value this option back and imported and publish the customization then it started working again…:)