SHARE
TWEET

Untitled

a guest May 25th, 2019 56 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top