By default customer type lookups allow both account and contact entity types. i just need to restrict the customer lookup on the quotation form so it only allows contacts. Is there a way to achieve this?
+1
A:
From http://www.stunnware.com/crm2/topic.aspx?id=JS7:
"Put the following into the opportunity's OnLoad event:
crmForm.all.customerid.setAttribute("lookuptypes", "1");
This tells the customer lookup to only include the account (object type code 1). A value of 2 forces the lookup to only display contacts."
Matt
2010-02-09 23:05:14