locked
set default value in lookup CRM 4.0 RRS feed

  • Question

  •  

    Hi all,

     

    I have add a new lookup field on the opportunity form, which is take values from bussines unit entity.Now I would like that when form is loaded in this field appear bussines unit value which is coneected to this user.For example when we open opportunity entity owner is set automatically.have any idea?

     

    thanks

    Monday, December 29, 2008 1:46 PM

Answers

  • Hi,

     

    The best way to do that is write a plug-in on the entity create message.
    The plug-in context object contains the user’s businessunitid. You can use it to set the new lookup attribute.

    Adi

    Monday, December 29, 2008 8:41 PM