Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. String[] types = new string[]{'OpportunityLineItem'};
  2.  
  3. Schema.DescribeSobjectResult[] results = Schema.describeSObjects(types);
  4. System.debug('Results: ' + results);
  5.  
  6. for (DescribeSObjectResult result : results)
  7. system.debug(result.isUndeletable());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement