ZDK client script code snippet to find all Open Deals for a given Account ID?

ZDK client script code snippet to find all Open Deals for a given Account ID?


Looking for a ZDK client script code sample snippet to find all Open Deals for a given Account ID

Trying to work with this, but I don't think it's gonna get me there.

var leads = ZDK.Apps.CRM.Leads.searchByCriteria("((Last_Name:equals:Burns%5C%2CB)and(First_Name:starts_with:M))");