Difference between WhoID and WhatID


WhatID
WhoId
Refers to object.
Refers to people.
Example: Account Id, Opportunity Id.
Example: Lead Id, Contact Id.


Cheers!!!

2 comments:

  1. what is the usage of these IDs

    ReplyDelete
    Replies
    1. To avoid the orphan Task.Event record creation.
      These fields are mandatory on creating Tasks/Events such that these Tasks/Events will be connected to Parent Object.

      Delete