On a customer field, if the requirement is to only show Accounts, please add this line to the OnLoad of the form:
//Show only Account records when selecting the Customer formContext.getControl("customerid").setEntityTypes(["account"]);
Hope it helps
No comments:
Post a Comment