I was reviewing a recently upgraded organization with a lot of JavaScript in Opportunity and Quote Products and could not seem to resolve a misleading ‘DataValue’ error.

crm2011

I had the exact same code on both Opportunity Products and Quote Products but the latter worked fine.

I eventually disabled all JavaScript but still received the error. Finally I happened to try it from another machine and produced a new but informational error:

‘crmForm.all.ispriceoverridden is null or not an object’


I recalled that Opportunity Products now has a field for overriding the price (incidentally this was the purpose of said JavaScript.)

I added the ‘ispriceoverridden’ bit field to the form (displaying as a locked field) and all was well.


The other lesson was that I have Internet Explorer 9 but the second test was using Internet Explorer 8 which handles errors differently!

For more information on CRM and upgrades to CRM 2011 feel free to reach out to the CRM Experts at PowerObjects contact us.

Happy CRM’ing

Avatar for Joe D365

Joe D365

Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.