Where will we use whoId and whatId basically in salesforce?
Very confusable can anyone help me out
Where will we use whoId and whatId basically in salesforce?
Very confusable can anyone help me out
"WhoID" refers to people things. So that would be typically a Lead ID or a Contact ID
"WhatID" refers to object type things.That would typically be an Account ID or an Opportunity ID
You can use query something like this :
select id, whatid from task
plaese see the snap.
whoid is lookup field of contact object and whatid is lookup field of account object on task object
Regards, Suraj