I need to access the field data types in the Salesforce.com object to identify each telephone, fax, email, and mail field in the object. I did this from SFDC web services by calling DescribeSObject, but the Apex method DescribeFieldResult.getType returns the display type of the field, not the actual data type.
For example, the fields displaying the type of fax data, as in the image below, have the type of displaying the phone in accordance with the getType call. I need something that returns a fax for fax fields, mail for mail fields, etc., How to call the DescribeSObject web service. Anyone if this exists in Apex?

source
share