+ Start a Discussion
SURESH COOLSURESH COOL 

WHO ID AND WHAT ID ?

  HI to all ..

thanks for helping 

 

what is who id and waht id where can we see dis option i n salesforce 

waht is the importence of these two

?

can any one tell me plz 

    

Cory CowgillCory Cowgill

WHOID and WHATID are fields on the objects Task and Event.

 

They are Polymorphic lookup fields. These are essentially Foreign Key fields that link different types of objects from one field.

 

WHATID - This can hold the key (id) of a Account, Opportunity, Lead, Custom Object, ETC.

WHOID - This can hold the key(id) value of a Contact or a Lead record.

 

They allow a Task or Event to be linked to different types of records in the system.

 

Hope that helps.

Cory CowgillCory Cowgill

Also you can see this in the Data Model of the SFDC using the ERD Diagrams online, the Schema Builder, or SOQL Explorer tools.

souvik9086souvik9086

WHOID and WHATID are the two reference fields in Task and Event.

 

These are called polymorphic fields means more than object has relation to it.

 

If this post is helpful please throw Kudos.If this post solves your problem kindly mark it as solution.

Thanks