+ Start a Discussion
Kenneth WangKenneth Wang 

No such column 'IsPersonType' on entity 'RecordType'

Is there anyone met this problem before?

I want to query RecordType through SOAP API, my soql is "Select BusinessProcessId, NamespacePrefix, IsPersonType, SobjectType, DeveloperName From RecordType Where Name = 'Estimate'".
The reponse error is: 
BusinessProcessId, NamespacePrefix, IsPersonType, SobjectType, DeveloperName
                                                               ^
ERROR at Row:1:Column:44
No such column 'IsPersonType' on entity 'RecordType'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Best Answer chosen by Kenneth Wang
Rahul ShRahul Sh
IsPersonType is visible only if the organization has the person account feature enabled.

All Answers

Rahul ShRahul Sh
IsPersonType is visible only if the organization has the person account feature enabled.
This was selected as the best answer
Prasad MPrasad M
@Rahul - how we need to enable this for Org
Sumit Jain 17Sumit Jain 17
You need to contact Salesforce to enable person accounts.

Check this doc:
https://resources.docs.salesforce.com/200/latest/en-us/sfdc/pdf/salesforce_B2C_implementation_guide.pdf

Regards
Sumit
sumit@celebal.com