locked
CRM 2013 opportunity product form issue RRS feed

  • Question

  • Hi

    • Having problems disabling the productid , ispriceoverridden , uomid, priceperunit fields on the CRM 2013  opportunity product form
    • Can disable it on the create form but not on the update form.
    • The code  was

        Xrm.Page.getControl("productid").setDisabled(true);

    • At first I thought  there was javascript error somewhere
    • So  removed all javascript files
    • and only have 1 function for the form onload event 
    • no matter what I tried those fields just can't be disabled
    • I am an experienced CRM 2011 developer. 
    • This seems like a new feature 
    • Can you guys shed some light on this issue for me 

    Thanks 

    Wednesday, December 4, 2013 3:31 AM

All replies

  • In your update form, what is the value in "Select Product" field ?
    Wednesday, December 4, 2013 10:15 AM
  • "Existing"
    Sunday, December 8, 2013 11:02 PM
  • I am still having this problem

    Can anyone help

    Thanks

    Friday, December 13, 2013 2:23 AM
  • Try to disable the field as default and on create enable productid field from javascript.
    Friday, December 13, 2013 3:19 AM
  • Tried your suggestion.

    However CRM enables the field even though it is set to disabled on the form.

    This is not a joke.

    Tuesday, December 17, 2013 2:23 AM