This documentation is archived and is not being maintained.

account Class (CrmService)

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

A business that represents a customer or potential customer. An account is the company that is billed in business transactions.

For a list of methods and messages that operate on this class, see Account Entity Capabilities.

The account class inherits from BusinessEntity. It exposes the following members.

ConstructorDescription
accountInitializes a new instance of the account class.

Instance PropertyDescription
accountcategorycodeGets or sets a drop-down list for selecting the category of the account.
accountclassificationcodeGets or sets a drop-down list for classifying an account.
accountidGets or sets the ID of the account.
accountnumberGets or sets a user-provided account number that is used in correspondence about the account.
accountratingcodeGets or sets a drop-down list for selecting account ratings.
address1_addressidGets or sets the ID of address 1.
address1_addresstypecodeGets or sets the type of address 1.
address1_cityGets or sets the city name in address 1.
address1_countryGets or sets the country or region name in address 1.
address1_countyGets or sets the county name in address 1.
address1_faxGets or sets the fax number for address 1.
address1_freighttermscodeGets or sets the freight terms for address 1.
address1_latitudeGets or sets the latitude associated with address 1.
address1_line1Gets or sets the first line for address 1 information.
address1_line2Gets or sets the second line for address 1 information.
address1_line3Gets or sets the third line for address 1 information.
address1_longitudeGets or sets the longitude of address 1.
address1_nameGets or sets the name for address 1.
address1_postalcodeGets or sets the zip or postal code for address 1.
address1_postofficeboxGets or sets the post office box number for address 1.
address1_primarycontactnameGets or sets the name of the primary contact for address 1.
address1_shippingmethodcodeGets or sets the method of shipment for address 1.
address1_stateorprovinceGets or sets the state or province for address 1.
address1_telephone1Gets or sets the first telephone number associated with address 1
address1_telephone2Gets or sets the second telephone number associated with address 1
address1_telephone3Gets or sets the second telephone number associated with address 1
address1_upszoneGets or sets the United Parcel Service (UPS) zone for address 1.
address1_utcoffsetGets or sets the UTC offset for address 1, which is the difference between local time and standard Coordinated Universal Time.
address2_addressidGets or sets the ID for address 2.
address2_addresstypecodeGets or sets the type of address for address 2, such as billing, shipping, or primary address.
address2_cityGets or sets the city name in address 2.
address2_countryGets or sets the country name in address 2.
address2_countyGets or sets the county name in address 2.
address2_faxGets or sets the fax number for address 2.
address2_freighttermscodeGets or sets freight terms for address 2.
address2_latitudeGets or sets the latitude associated with address 2.
address2_line1Gets or sets the first line for address 1 information.
address2_line2Gets or sets the second line for address 1 information.
address2_line3Gets or sets the third line for address 1 information.
address2_longitudeGets or sets the longitude associated with address 2.
address2_nameGets or sets the name for address 2.
address2_postalcodeGets or sets the zip or postal code for address 2.
address2_postofficeboxGets or sets the post office box number for address 2.
address2_primarycontactnameGets or sets the name of the primary contact for address 2.
address2_shippingmethodcodeGets or sets the method of shipment for address 2.
address2_stateorprovinceGets or sets the state or province for address 2.
address2_telephone1Gets or sets the first telephone number associated with address 2.
address2_telephone2Gets or sets the second telephone number associated with address 2.
address2_telephone3Gets or sets the second telephone number associated with address 2.
address2_upszoneGets or sets the United Parcel Service (UPS) zone for address 2.
address2_utcoffsetGets or sets the UTC offset for address 2, which is the difference between local time and standard Coordinated Universal Time.
aging30Not used in this version.
aging30_baseGets the base currency equivalent for aging 30 on the account.
aging60Not used in this version.
aging60_baseGets the base currency equivalent for aging 60 on the account.
aging90Not used in this version.
aging90_baseGet the base currency equivalent for the aging 90 on the account.
businesstypecodeGets or sets the UTC offset for address 2, which is the difference between local time and standard Coordinated Universal Time.
createdbyGets the ID of the user who created the account record.
createdonGets the date and time when the account was created.
createdonbehalfbyGets the ID of the proxy user who created the account record.
creditlimitGets or sets the credit limit for the account.
creditlimit_baseGets the base currency equivalent for the credit limit on the account.
creditonholdGets or sets a value that indicates whether credit for the account is on hold.
customersizecodeGets or sets the customer size.
customertypecodeGets or sets the customer type.
defaultpricelevelidGets the ID of the default price list associated with the account.
descriptionGets or sets the account description.
donotbulkemailGets or sets a value that indicates whether to allow sending direct e-mail to the account.
donotbulkpostalmailGets or sets a value that indicates whether to allow sending bulk-rate postal mail to the account.
donotemailGets or sets a value that indicates whether to allow sending e-mail to the account.
donotfaxGets or sets a value that indicates whether to allow sending faxes to the account.
donotphoneGets or sets a value that indicates whether to allow phone calls to the account.
donotpostalmailGets or sets a value that indicates whether to allow sending postal mail to the account.
donotsendmmGets or sets a value that indicates whether to allow sending marketing mail to the account.
emailaddress1Gets or sets the first e-mail for the account.
emailaddress2Gets or sets the second e-mail for the account.
emailaddress3Gets or sets the third e-mail for the account.
exchangerateGets or sets the exchange rate for the currency associated with the account with respect to the base currency.
faxGets or sets the fax telephone number for the account.
ftpsiteurlGets or sets the FTP site URL for the account.
importsequencenumberGets or sets the ID of the data import or data migration that created this record.
industrycodeGets or sets the type of industry with which the account is associated.
lastusedincampaignGets or sets the date and time when the account was last contacted as a part of a marketing campaign.
marketcapGets or sets the market capitalization of the account.
marketcap_baseGets or sets the base currency equivalent of the market capitalization for the account.
masteridGets the ID of the master account for merge.
mergedGets information regarding whether the account has been merged with a master account
modifiedbyGets the ID of the last user who modified the account.
modifiedonGets the date and time when the account was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the account.
nameGets or sets the name of the account.
numberofemployeesGets or sets the number of employees.
originatingleadidGets the ID of the lead from which the account was created.
overriddencreatedonGets or sets the date and time that the record was migrated.
owneridGets or sets the ID of the user that owns the account.
ownershipcodeGets or sets the type of company ownership, such as public or private.
owningbusinessunitGets the ID of the business unit that owns the account.
parentaccountidGets the ID of the parent account.
participatesinworkflowGets or sets a value that indicates whether the account participates in workflow rules.
paymenttermscodeGets or sets the payment terms for the account.
preferredappointmentdaycodeGets or sets the day of the week that the account prefers for scheduling service activites.
preferredappointmenttimecodeGets or sets the time of the day the account prefers for scheduling service activities.
preferredcontactmethodcodeGets or sets the preferred contact method for the account.
preferredequipmentidGets or sets the ID of the utilities/equipment preferred by the account for scheduling service activities.
preferredserviceidGets or sets the ID of the service preferred by the account for scheduling service activities.
preferredsystemuseridGets or sets the ID of the system user preferred by the account for scheduling service activities.
primarycontactidGets or sets the ID of the primary contact for the account.
revenueGets or sets the revenue amount for the account.
revenue_baseGets or sets the base currency equivalent for the revenue amount on the account.
sharesoutstandingGets or sets the outstanding shares for the account.
shippingmethodcodeGets or sets the method of shipment for the account.
sicGets or sets the Standard Industrial Classification (SIC) code for the account.
statecodeGets the status of the account.
statuscodeGets or sets the reason for the status of the account.
stockexchangeGets or sets the stock exchange on which the business associated with the account is listed.
telephone1Gets or sets the first telephone number for the account.
telephone2Gets or sets the second telephone number for the account.
telephone3Gets or sets the third telephone number for account
territorycodeGets or sets the territory to which the account belongs.
territoryidGets or sets the ID of the territory to which the account belongs.
tickersymbolGets or sets the stock exchange symbol for the account.
timezoneruleversionnumberFor internal use only.
transactioncurrencyidGets or sets the ID of the currency associated with the account.
utcconversiontimezonecodeGets or sets the time zone code in use when the record was created.
websiteurlGets or sets the Web site URL for the account.
yominameGets or sets the pronunciation of the account name, written in phonetic hiragana or katakana characters.

Remarks

This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. Change the view to see non-customizable entities.

If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.

This entity is customizable.

Requirements

Web service: CrmService

See Also

Concepts

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show: