public with sharing class LexInventoryHeaderController { @AuraEnabled public static LostReport__c init(String recordId){ List lpList = [SELECT Id, Asset__c from LostReport__c WHERE Id = :recordId]; if(lpList.size()>0){ return lpList[0]; } return null; } }