19626
2023-06-20 9dca2b56fba9e2e3a0346235229e06d9e25fe5fe
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{
 
    }
}