You need to sign in to do that
Don't have an account?
Robert Wambold 10
In SOQL...select id, whatid from task where WHAT.TYPE = 'Opportunity', Is there an alternative to WHAT.TYPE in APEX.
In SOQL...select id, whatid from task where WHAT.TYPE = 'Opportunity'.
Is there an alternative to WHAT.TYPE in APEX.
Create a Formula field, let's say WhatIdForSOQL:
Data Type: Formula
Return Type: Text
Syntax: Your new SOQL: