I want to use SuiteScript to search for a record that could be either a lead, prospect, or customer. What's the best way to do this?
If I use the search API with the record type entity, it's my understanding that it will return any entity record type including contacts, vendors, etc. This is not what I need since I'm only lookig for lead/pros/customer. Do I need to execute three separate searches using the lead, propspect, and customer record types and combine the results?
In other words, why have these three record types, when you could just have a customer record type with a stage field (like WS)?
Thanks
Jan