1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| public with sharing class lexAgencyHospitalController {
| @AuraEnabled
| public static InitData queryForAgencyHospitalRecordType(String recordId){
| InitData res = new InitData();
| try {
| RecordType recordType = [
| select Id from RecordType where DeveloperName = 'AHospital' and SobjectType = 'Agency_Hospital_Link__c'
| ];
|
| } catch (Exception e) {
| throw new AuraHandledException(e.getMessage());
| }
| }
| class InitData{
|
| }
| }
|
|