How to get record type id with recordtype name in apex

 How to get record type id with recordtype name in apex 


String recordTypeId=Schema.SObjectType.Case.getRecordTypeInfosByName().get('Support').getRecordTypeId();

Comments

Popular posts from this blog

Multi currency in Salesforce - Revenue Cloud Advance - Revenue Lifecycle Management

Create the Callout Step in DRO - Salesfroce - Dynamic Revenue Orchestrator

Apex Triggers - 15 (Amazon Interview Question)