locked
set the auto number for product in crm 2011 RRS feed

  • Question

  • Hi ,

    how can i change the system requirement level to the no constraint .

    I would like to set the auto number for product "ID" field .it is the system required field . after i fill all fields except "ID",when i want to save the form the notification said :"the ID field is empty". because it is the system required field .

    i want to change the system required to no constraint .

    please help

    Wednesday, July 23, 2014 8:39 AM

All replies

  • Hi,

    It's not possible to set the "ID" field in Product as not required. It's blocked by Dynamics CRM OOB. However, if want the users to skip that part and save the record without having to provide the Product Id, you can have an auto number plugin that provides a Product Id every time one is created.


    Admin QuikView Solution for CRM 2013

    Wednesday, July 23, 2014 9:06 AM
  • Hi Zabihi,

    Product number is system required field. If you do not provide it then CRM will throw an error.

    But as you said that you have an auto number plugin on product then you can try by removing the requirement using javascript.

    Xrm.Page.getAttribute("productnumber").setRequiredLevel("none");

    HTH!

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" 

    Wednesday, July 23, 2014 9:09 AM