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();
How to get record type id with recordtype name in apex
String recordTypeId=Schema.SObjectType.Case.getRecordTypeInfosByName().get('Support').getRecordTypeId();
Comments
Post a Comment