#{extends 'main.html' /} #{set title:'Opportunity - Account Search' /}

Before creating a new Opportunity, ensure that the Account does not already exist. You can also create a new account.

Search by Account Name:

   

%{ if (accounts != null) { }% %{ if (accounts.length > 0) { }% ${accounts.length} accounts matching your search criteria:

#{list items:accounts, as:'account' } #{/list}
Name City State Phone
${ account.getField("Name") } ${ account.getField("BillingCity") } ${ account.getField("BillingState") } ${ account.getField("Phone") }
%{ } else { }% No matching accounts found. %{ } }% %{ } }%