KKbes
2023-06-27 0230d0b66c508d98981fc2a3ff8e82f7ceecc3da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//author :kkbes  
public with sharing class LexLeadRequestController {
 
 
    @AuraEnabled
    public static Lead init(String recordId){
        Lead res = new Lead();
 
        try{
            res=[SELECT Id,Status,Tender_information__c  FROM  Lead  WHERE Id = : recordId ];
        }
        catch(Exception e){
            System.debug(LoggingLevel.INFO, '*** e: ' + e);
        }
 
        return res;
 
    }
  
}