| | |
| | | Feedback__c, |
| | | Task_follow__c, |
| | | Other_issue__c, |
| | | Next_week_plan__c, |
| | | Dr_Sum_URL__c |
| | | Next_week_plan__c |
| | | FROM Monthly_Report__c WHERE Id = :recordId LIMIT 1]; |
| | | String userName = UserInfo.getUserName(); |
| | | User activeUser = [Select Email From User where Username = : userName limit 1]; |
| | |
| | | res.taskFollow = report.Task_follow__c; |
| | | res.otherIssue = report.Other_issue__c; |
| | | res.nextWeekPlan = report.Next_week_plan__c; |
| | | res.drSumUrl = report.Dr_Sum_URL__c; |
| | | res.userEmail = activeUser.Email; |
| | | |
| | | System.debug(LoggingLevel.INFO, '*** res: ' + res); |
| | | }catch(Exception e){ |
| | | System.debug(LoggingLevel.INFO, '*** e: ' + e); |