Skip to main content
1 of 2
Doug B
  • 11.5k
  • 1
  • 37
  • 44

The question is, why do you want the record type id? Is it so that you can limit your query? In that case

Select Id
From account
where RecordType.developername = 'Business'

and you have saved a query :)

You can also use it on related objects

Select Id
From case
where account.RecordType.developername = 'Business'
Doug B
  • 11.5k
  • 1
  • 37
  • 44