You need to sign in to do that
Don't have an account?
iperez_genius
type of task
trying to find the apex code to discover what object a task belongs to
so i create a task for a lead i want to know that the task i access in my code is only a task attributed to elads and not contacts or oppotunities...
can anyone help
ilan
so i create a task for a lead i want to know that the task i access in my code is only a task attributed to elads and not contacts or oppotunities...
can anyone help
ilan
I think you will want to use the getSObjectType method on the object. Here is the code from the Apex guide:
Returns the token for this sObject. This method is
primarily used with describe information.
For more information, see Understanding Apex Describe
Information on page 100.