Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String[] types = new string[]{'OpportunityLineItem'};
- Schema.DescribeSobjectResult[] results = Schema.describeSObjects(types);
- System.debug('Results: ' + results);
- for (DescribeSObjectResult result : results)
- system.debug(result.isUndeletable());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement