Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Task Information Not visible if it belongs to Lead or Contact
TaskSearchBasic taskSearchBasic = new TaskSearchBasic();
SearchResult taskSearchResult = _service.search(taskSearchBasic);
if (taskSearchResult.status.isSuccess)
{
var result = taskSearchResult.recordList.ToList();
}
I use above query to get all the task, In this result I am unable to find out if this task belongs to a contact or to a Lead.
I get the Contact or Lead Id in a attribute called Internal ID in the assigned row returned in the result variable, but not able to determine if it is a lead or contact.
Can some help me to let me know how can we distinguish lead or Contact
0