Advertisement
Guest User

Untitled

a guest
May 25th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public class AccountReadOnlyCtr {
  2.  
  3. @AuraEnabled
  4. public static string fetchAccountRecordForDisplay() {
  5. Account obj = [Select name, annualrevenue, phone, fax, description from Account where Name='ABC' limit 1];
  6. return JSON.serialize(obj);
  7. }
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement