Filter Potential Customer for Opportunity

Today I got Requirement to Filter Potential Customer for Opportunity to show only accounts.This can be achieved only just putting one line in Opportunity form load

//To Show Only Account

crmForm.all.customerid.setAttribute(“lookuptypes”,”1″);

//To Show only Contact


crmForm.all.customerid.setAttribute(“lookuptypes”,”2″);

Done !!!

Leave a Reply

Your email address will not be published. Required fields are marked *