It appears that Quote is a SF SObject, yet the following code renders the following error:
[SELECT Id From Quote]
sObject type 'Quote' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
The following code throws an NPE on the first line:
SObjectType objType = Schema.getGlobalDescribe().get('Quote'); Map<String, Schema.SObjectField> objectFields = objType.getDescribe().fields.getMap();
So what is a Quote? How do a get a list of them?
Thanks for your help :D