Represents a record type. See “Managing Record Types” in the Salesforce.com online help.
create(), update(), query(), retrieve(), getDeleted(), getUpdated(), describeSObjects()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| BusinessProcessId | reference | Create | Required for Opportunity and Lead record types in API version 17.0 and later. ID of an associated BusinessProcess. For information on IDs, see ID Field Type. |
| Description | string | Create | A description of this record. Limit: 255 characters. |
| DeveloperName | string | Create | Required. The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. Label is Record Type Name. |
| IsActive | boolean | Defaulted on create | Indicates whether this record is active (true) or not (false). Only active record types can be applied to records. Label is Active. |
| IsPersonType | boolean | Defaulted on create |
Indicates whether this record has been designated as a PersonAccount (true) or not (false). Visible only if the organization has the person account feature enabled. For more information about person accounts, see Person Account Record Types, and the Salesforce.com online help. |
| Name | string | Create | Required. Label of the record type in the Salesforce.com user interface. Limit: 80 characters. Label is Record Type Label. |
| NamespacePrefix | string | Filter | The namespace prefix associated
with this object. Each Developer Edition organization that creates
a managed package has a unique namespace prefix. The limit is 15 characters.
You can refer to a component in a managed package by using the namespacePrefix__componentName notation.
The namespace prefix can have one of the following values:
This field cannot be accessed unless the logged-in user has the “Customize Application” permission. |
| SobjectType | picklist | Create | Object to which this record type applies, including custom objects. |
Use this object to offer different BusinessProcesses and subsets of picklist values to different users based on their Profile. Your client application can invoke the describeSObjects() and query() calls on RecordType objects.