Guest User

Untitled

a guest
May 25th, 2019
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data