Account
Standard and custom fields extend the standard Account object for use in Consumer Goods Cloud to represent an individual account, which is an company or person involved with your business, such as customers, competitors, and partners. This object is available in API version 55.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), merge(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Account number assigned to the account (not the unique, auto-generated ID assigned during creation). Can have up to 40 characters.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Source of the account record:
The source is selected from an administrator-set picklist. Each picklist value can have up to 40 characters.
-
Possible values:
OtherPartner ReferralPhone InquiryPurchased ListWeb
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Estimated annual revenue of the account.
- Type: address
- Properties: Filter, Nillable
- Description: Compound form of the billing address. Read-only. See Address Compound Fields for details on compound address fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of the account. Can have up to 40 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of the account. Can have up to 80 characters.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Accuracy level of the geocode for the billing address:
See Compound Field Considerations and Limitations for details on geolocation compound fields.
-
Possible values:
AddressBlockCityCountyExtendedZipNearAddressNeighborhoodStateStreetUnknownZip
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with BillingLongitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90, up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with BillingLatitude to specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180, up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of the account. Can have up to 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of this account. Can have up to 80 characters.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Street name in the billing address of the account.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Indicates the record’s clean status compared with Data.com:
-
Possible values:
Acknowledged—ReviewedDifferentInactiveMatched—In SyncNotFound—Not FoundPending—Not ComparedSelectMatch—Select MatchSkipped
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: ID of the Dun & Bradstreet® company record associated with the account.
This field is a relationship field.
-
Relationship Name: DandbCompany
-
Relationship Type: Lookup
-
Refers To: DandBCompany
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Text description of the account. Limited to 32,000 KB.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The Data Universal Numbering System (D-U-N-S) number is a unique, nine-digit number assigned to every business location in the Dun & Bradstreet database that has a unique, separate, and distinct operation. D-U-N-S numbers are used by industries and organizations around the world as a global standard for business identification and tracking. Maximum size is nine characters. This field is available only on business accounts.
This field is available only to companies that use Data.com Prospector or Data.com Clean.
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Fax number of the account.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Industry associated with the account. Can have up to 40 characters.
-
Possible values:
AgricultureApparelBankingBiotechnologyChemicalsCommunicationsConstructionConsultingEducationElectronicsEnergyEngineeringEntertainmentEnvironmentalFinanceFood & BeverageGovernmentHealthcareHospitalityInsuranceMachineryManufacturingMediaNot For ProfitOtherRecreationRetailShippingTechnologyTelecommunicationsTransportationUtilities
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: References the ID of a company in Data.com. Accounts imported from Data.com always have a value in this field, while accounts not imported from Data.com have a
nullvalue. Can have up to 20 characters. Available in API version 22.0 and later. Label is Data.com Key. This field is available only on business accounts.
-
Type: string
-
Properties: Filter, Group, Nillable, Sort
-
Description: ID of a company in Data.com.
Relationship field.
-
Relationship Name: JigsawCompany
-
Relationship Type: Lookup
-
Refers To: null
- Type: date
- Properties: Filter, Group, Nillable, Sort
- Description: Date when a user last modified the record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: Most recent date on which a user referenced the record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: Most recent date on which a user viewed the record.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: If this object was deleted as the result of a merge, then this field contains the ID of the record that was kept. If this object was deleted for any other reason, or hasn’t been deleted, the value is
null.This field is a relationship field.
-
Relationship Name: MasterRecord
-
Relationship Type: Lookup
-
Refers To: Account
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The six-digit North American Industry Classification System (NAICS) code is the standard used by businesses and the government to classify business establishments into industries, according to their economic activity for the purpose of collecting, analyzing, and publishing statistical data related to the U.S. business economy. Can have up to eight characters. This field is available only on business accounts.
This field is available only to companies that use Data.com Prospector or Data.com Clean.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Brief description of an company line of business based on the org’s NAICS code. Can have up to 120 characters. The field is available only on business accounts.
The field is available only to companies that use Data.com Prospector or Data.com Clean.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Unique identification of the account.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Number of employees working at the company that’s represented by the account. Can have up to eight digits.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Operating hours associated with the account. Available only if Field Service is enabled.
This field is a relationship field.
-
Relationship Name: OperatingHours
-
Relationship Type: Lookup
-
Refers To: OperatingHours
-
Type: reference
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: ID of the user who currently owns the account. user logged in to the API to perform the create. If you have set up account teams in your company, the result of updating this field depends on your version of the API:
- For API version 12.0 and later, sharing records are kept for all objects.
- For API version before 12.0, sharing records are deleted.
- For API version 16.0 and later, users must have the Transfer Record permission to update (transfer) account ownership.
This field is a relationship field.
-
Default value:
the -
Relationship Name: Owner
-
Relationship Type: Lookup
-
Refers To: User
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Ownership type of the account:
-
Possible values:
OtherPrivatePublicSubsidiary
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: ID of the parent object, if any.
This field is a relationship field.
-
Relationship Name: Parent
-
Relationship Type: Lookup
-
Refers To: Account
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Phone number of the account. Can have up to 40 characters.
- Type: url
- Properties: Filter, Group, Nillable, Sort
- Description: Path to be combined with the URL of a Salesforce instance (for example, https://yourInstance.salesforce.com/) to generate a URL to request the social network profile image associated with the account. Generated URL returns an HTTP redirect (code 302) to the social network profile image for the account. Returns a blank if Social Accounts and Contacts aren’t enabled for the company or are disabled for the requesting user.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Account’s prospect rating:
-
Possible values:
ColdHotWarm
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: ID of the record type assigned to the object.
This field is a relationship field.
-
Relationship Name: RecordType
-
Relationship Type: Lookup
-
Refers To: RecordType
- Type: address
- Properties: Filter, Nillable
- Description: Read-only. Compound form of the shipping address. See Address Compound Fields for details on compound address fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: City in the shipping address of the account. Can have up to 40 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Country in the shipping address of the account. Can have up to 80 characters.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Accuracy level of the geocode for the shipping address:
See Compound Field Considerations and Limitations for details on geolocation compound fields.
-
Possible values:
AddressBlockCityCountyExtendedZipNearAddressNeighborhoodStateStreetUnknownZip
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with ShippingLongitude to specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90, up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with ShippingLatitude to specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180, up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Postal code in the shipping address of the account. Can have up to 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: State in the shipping address of the account. Can have up to 80 characters.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Street name in the shipping address of the account. Can have up to 255 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Standard Industrial Classification code of the company’s main business categorization. For example, 57340 for Electronics. Can have up to 20 characters. This field is available only on business accounts.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Brief description of an company line of business, based on the SIC code. Can have up to 80 characters. This field is available only on business accounts.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Name of the account’s location. For example, Headquarters or London. Can have up to 80 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Stock market symbol for the account. Can have up to 20 characters. This field is available only on business accounts.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Non-legal name that an company uses for conducting business. Similar to Doing business as or DBA. Can have up to 255 characters. This field is available only on business accounts.
This field is available only to companies that use Data.com Prospector or Data.com Clean.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Type of account
-
Possible values:
Channel Partner / ResellerCustomer - ChannelCustomer - DirectInstallation PartnerOtherProspectTechnology Partner
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Website of the account. Can have up to 255 characters.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Date when an org was legally established. Can have up to four characters.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
- Type: email
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Email address of the account. Label is Email.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Account number assigned to the account (not the unique, auto-generated ID assigned during creation). Can have up to 40 characters.
-
Type: string
-
Properties: Filter, Nillable, Sort
-
Description: The account template description.
This field is a calculated field.
-
Formula:
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: References the account template object used for accounts.
This field is a relationship field.
-
Relationship Name: cgcloud_dev__Account_Template__r
-
Relationship Type: Lookup
-
Refers To: cgcloud_dev__Account_Template__c
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: Unique identifier of the external object record to account.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Unique identification of the account.
-
Type: double
-
Properties: Filter, Nillable, Sort
-
Description: Number of extensions for the account.
This field is a calculated field.
-
Type: string
-
Properties: Filter, Nillable, Sort
-
Description: Sales org of the template.
This field is a calculated field.
-
Formula:
The Account object has these related objects. If the API version isn’t specified, then the APIs are available in the same versions as the object. Otherwise, the APIs are available in the specified API version and later.
- AccountChangeEvent: Change events are available for the object.
- AccountFeed: Feed tracking is available for the object.
- AccountHistory: History is available for tracked fields of the object.
- AccountOwnerSharingRule: Sharing rules are available for the object.
- AccountShare: Sharing is available for the object.