1
2
3
4
5
6
7
8
9
10
11
12
13
14
| public with sharing class LexVMcontractUsageRateNewController {
| @AuraEnabled
| public static String init(String recordId){
| try {
| String reportId = [select Id from Report where DeveloperName ='VM_contract_bottun'].Id;
| return reportId;
| }
| catch (Exception e) {
| return e.getMessage();
| // return e.getDmlMessage(0);
| }
|
| }
| }
|
|