You need to sign in to do that
Don't have an account?
notsosmart
apex reference to converted leads
My procedure needs to filter out converted leads from my lookups. I've noted that the Lead status field piciklist includes a
field Labeled Converted but I don't know the coding reference for my SOQL statement.
If I filter by the status values that are checked as converted, it still gets one that is not checked on the status.
Id like to understand how this work anyway in order to write clean code because I'm thinking there is another reference that is more reliable.
Thanks.
[select id, firstname, lastname, email from Lead where isConverted = false]
All Answers
[select id, firstname, lastname, email from Lead where isConverted = false]