1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| //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 ];
| return res;
| }
| catch(Exception e){
| System.debug(LoggingLevel.INFO, '*** e: ' + e);
| return null;
| }
|
| }
|
| }
|
|