Unable to get property '0' of undefined or null reference Lookup field RRS feed

  • Question

  • Recently ProductID lookup field in Opporunity Product dynamic crm form started throwing this error "Unable to get property '0' of undefined or null reference" when we tried to change this lookup field. There is no javascript called on Onchange event I have attached a screenshot of the error. I have disabled all the events already but still when i add a new product to opportunitiy by hitting the search button right to the productid field in opporuntiy product form i get this error message in a JS dialog There was an Error in this field customized event . Field : productid Event : setadditionalparams Error: Unable to get property '0' of undefined or null reference 

    i haven't attached any function or javascript to onchange event of the lookup field.The error shows whenever we click on productid lookup field but after i close the error dialog by hitting the ok button i can pick a product out of the list. They seems no problem here, but the error message is annoying. 

    Monday, March 7, 2016 9:22 PM

All replies

  • Hi Hussain,

    Have you checked business rule.


    Tuesday, March 8, 2016 8:19 AM
  • Yes ..... There is nothing there that changes the behavior of productid lookup field.
    Tuesday, March 8, 2016 4:18 PM