Expand Minimize
0 out of 1 rated this helpful - Rate this topic

account Class

CRM 1.2
banner art

Represents a person or business to whom the salesperson tries to sell a product or service. This is the entity that is billed in business transactions.

The account class inherits from BusinessEntity.

Public Methods

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

Constructor Description
account Initializes a new instance of the account class.

Public Fields

Field Description
accountcategorycode Specifies a drop-down list for selecting the category of the account.
accountclassificationcode Specifies a drop-down list for classifying an account.
accountid Specifies the ID of the account.
accountnumber Contains a user-provided account number that is used in correspondence about the account.
accountratingcode Specifies a drop-down list for selecting account ratings.
address1_addressid Specifies the ID of address 1.
address1_addresstypecode Specifies the type of address 1.
address1_city Specifies the city name in address 1.
address1_country Specifies the country or region name in address 1.
address1_county Specifies the county name in address 1.
address1_fax Specifies the fax number for address 1.
address1_freighttermscode Specifies the freight terms for address 1.
address1_latitude Specifies the latitude associated with address 1.
address1_line1 Specifies the first line for address 1 information.
address1_line2 Specifies the second line for address 1 information.
address1_line3 Specifies the third line for address 1 information.
address1_longitude Specifies the longitude of address 1.
address1_name Contains the name for address 1.
address1_postalcode Contains the zip or postal code for address 1.
address1_postofficebox Contains the post office box number for address 1.
address1_primarycontactname Contains the name of the primary contact for address 1.
address1_shippingmethodcode Contains the method of shipment for address 1.
address1_stateorprovince Contains the state or province for address 1.
address1_telephone1 Contains the first telephone number associated with address 1
address1_telephone2 Contains the second telephone number associated with address 1
address1_telephone3 Contains the second telephone number associated with address 1
address1_upszone Contains the United Parcel Service (UPS) zone for address 1.
address1_utcoffset Specifies the UTC offset for address 1, which is the difference between local time and standard Coordinated Universal Time.
address2_addressid Contains the ID for address 2.
address2_addresstypecode Contains the type of address for address 2, such as billing, shipping, or primary address.
address2_city Specifies the city name in address 2.
address2_country Specifies the country name in address 2.
address2_county Specifies the county name in address 2.
address2_fax Specifies the fax number for address 2.
address2_freighttermscode Specifies freight terms for address 2.
address2_latitude Specifies the latitude associated with address 2.
address2_line1 Specifies the first line for address 1 information.
address2_line2 Specifies the second line for address 1 information.
address2_line3 Specifies the third line for address 1 information.
address2_longitude Specifies the longitude associated with address 2.
address2_name Contains the name for address 2.
address2_postalcode Contains the zip or postal code for address 2.
address2_postofficebox Contains the post office box number for address 2.
address2_primarycontactname Contains the name of the primary contact for address 2.
address2_shippingmethodcode Contains the method of shipment for address 2.
address2_stateorprovince Contains the state or province for address 2.
address2_telephone1 Contains the first telephone number associated with address 2.
address2_telephone2 Contains the second telephone number associated with address 2.
address2_telephone3 Contains the second telephone number associated with address 2.
address2_upszone Contains the United Parcel Service (UPS) zone for address 2.
address2_utcoffset Specifies the UTC offset for address 2, which is the difference between local time and standard Coordinated Universal Time.
aging30 Not used in this version.
aging60 Not used in this version.
aging90 Not used in this version.
businesstypecode Specifies the UTC offset for address 2, which is the difference between local time and standard Coordinated Universal Time.
createdby Specifies the ID of the user who created the account record.
createdon Contains the date and time when the account was created.
creditlimit Specifies the credit limit for the account.
creditonhold Specifies whether credit for the account is on hold.
customersizecode Specifies the customer size.
customertypecode Specifies the customer type.
defaultpricelevelid Contains the ID of the default price list associated with the account.
description Contains the account description.
donotbulkemail Contains information about whether to allow sending direct e-mail to the account.
donotbulkpostalmail Containts information about whether to allow sending bulk-rate postal mail to the account.
donotemail Contains information about whether to allow sending e-mail to the account.
donotfax Contains information about whether to allow sending faxes to the account.
donotphone Contains information about whether to allow phone calls to the account.
donotpostalmail Contains information about whether to allow sending postal mail to the account.
donotsendmm Contains information about whether to allow sending marketing mail to the account.
emailaddress1 Specifies the first e-mail for the account.
emailaddress2 Specifies the second e-mail for the account.
emailaddress3 Specifies the third e-mail for the account.
fax Contains the fax telephone number for the account.
ftpsiteurl Contains the FTP site URL for the account.
industrycode Specifies the type of industry with which the account is associated.
lastusedincampaign Specifies the date and time when the account was last contacted as a part of a marketing campaign.
marketcap Specifies the market capitalization of the account.
masterid Contains the ID of the master account for merge.
merged Contains information regarding whether the account has been merged with a master account
modifiedby Contains the ID of the last user who modified the account.
modifiedon Contains the date and time when the account was last modified.
name Specifies the name of the account.
numberofemployees Specifies the number of employees.
originatingleadid Contains the ID of the lead from which the account was created.
ownerid Contains the ID of the user that owns the account.
ownershipcode Specifies the type of company ownership, such as public or private.
owningbusinessunit Contains the ID of the business unit that owns the account.
parentaccountid Specifies the ID of the parent account.
participatesinworkflow Contains information that specifies whether the account participates in workflow rules.
paymenttermscode Specifies the payment terms for the account.
preferredappointmentdaycode Contains the day of the week that the account prefers for scheduling service activites.
preferredappointmenttimecode Contains the time of the day the account prefers for scheduling service activities.
preferredcontactmethodcode Contains the preferred contact method for the account.
preferredequipmentid Specifies the ID of the utilities/equipment preferred by the account for scheduling service activities.
preferredserviceid Specifies the ID of the service preferred by the account for scheduling service activities.
preferredsystemuserid Specifies the ID of the system user preferred by the account for scheduling service activities.
primarycontactid Specifies the ID of the primary contact for the account.
revenue Contains the revenue amount for the account.
sharesoutstanding Contains the outstanding shares for the account.
shippingmethodcode Contains the method of shipment for the account.
sic Contains the Standard Industrial Classification (SIC) code for the account.
statecode Specifies the status of the account.
statuscode Specifies the reason for the status of the account.
stockexchange Contains the stock exchange on which the business associated with the account is listed.
telephone1 Contains the first telephone number for the account.
telephone2 Contains the second telephone number for the account.
telephone3 Contains the third telephone number for account
territorycode Contains the territory to which the account belongs.
territoryid Specifies the ID of the territory to which the account belongs.
tickersymbol Contains the stock exchange symbol for the account.
websiteurl Contains the Web site URL for the account.

Remarks

For more information about entities and attributes, see the Metadata Browser and 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.

See Also


© 2007 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.