Export (0) Print
Expand All
Expand Minimize

contact Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Represents a person with whom a business unit has a relationship, for example, a customer, a supplier, or a colleague.

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

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

ConstructorDescription
contactInitializes a new instance of the contact class.

PropertyDescription
accountrolecodeGets or sets the account role of the contact.
address1_addressidGets or sets the ID for address 1.
address1_addresstypecodeGets or sets the type of address for address 1, such as billing, shipping, or primary address.
address1_cityGets or sets the city name for address 1.
address1_countryGets or sets the country/region name for address 1.
address1_countyGets or sets the county for 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 for address 1.
address1_line1Gets or sets the first line for entering address-1 information.
address1_line2Gets or sets the second line for entering address-1 information.
address1_line3Gets or sets the third line for entering address-1 information.
address1_longitudeGets or sets the longitude for address 1.
address1_nameGets or sets the name to enter for address 1.
address1_postalcodeGets or sets the ZIP code or postal code for address 1.
address1_postofficeboxGets or sets the post-office box number for address 1.
address1_primarycontactnameGets or sets the name to enter for address 1 for the primary contact.
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 third telephone number associated with address 1.
address1_upszoneGets or sets the United Parcel Service (UPS) zone for address 1.
address1_utcoffsetGets or set the UTC offset for address 1. This 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 for address 2.
address2_countryGets or sets the country/region name for address 2.
address2_countyGets or sets the county for address 2.
address2_faxGets or sets the fax number for address 2.
address2_freighttermscodeGets or sets the freight terms for address 2.
address2_latitudeGets or sets the latitude for address 2.
address2_line1Gets or sets the first line for entering address-2 information.
address2_line2Gets or sets the second line for entering address-2 information.
address2_line3Gets or sets the third line for entering address-2 information.
address2_longitudeGets or sets the longitude for address 2.
address2_nameGets or sets the name to enter for address 2.
address2_postalcodeGets or sets the ZIP code or postal code for address 2.
address2_postofficeboxGets or sets the post office box number for address 2.
address2_primarycontactnameGets or sets the name to enter for address 2 for the primary contact.
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 third 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. This is the difference between local time and standard Coordinated Universal Time.
aging30For internal use only.
aging30_baseGets the base-currency equivalent of the aging 30 for the contact.
aging60For internal use only.
aging60_baseGets the base-currency equivalent of the aging 60 for the contact.
aging90For internal use only.
aging90_baseGets the base-currency equivalent of the aging 90 for the contact.
anniversaryGets or sets the wedding anniversary of the contact.
annualincomeGets or sets the annual income of the contact.
annualincome_baseGets the base-currency equivalent of the annual income of the contact.
assistantnameGets or sets the name of the contact's assistant.
assistantphoneGets or sets the phone number of the contact's assistant.
birthdateGets or sets the birth date of the contact.
childrensnamesGets or sets the names of the contact's children.
contactidGets or sets the ID of the contact.
createdbyGets the ID of the user who created the contact.
createdonGets the date and time when the contact was created.
createdonbehalfbyGets the ID of the proxy user who created the contact record.
creditlimitGets or sets the credit limit for the contact.
creditlimit_baseGets the base-currency equivalent of the credit limit for the contact.
creditonholdGets or sets a value that indicates whether credit for the contact is on hold.
customersizecodeGets or sets the size of the contact's business.
customertypecodeGets or sets the type of business associated with the contact.
defaultpricelevelidGets or sets the ID of the default price list for the contact.
departmentGets or sets the department in the business unit or organization associated with the contact.
descriptionGets or sets the description of the contact.
donotbulkemailGets or sets a value that indicates whether to allow sending direct e-mail to the contact.
donotbulkpostalmailGets or sets a value that indicates whether to allow sending bulk-rate postal mail to the contact.
donotemailGets or sets a value that indicates whether to allow sending e-mail to the contact.
donotfaxGets or sets a value that indicates whether to allow sending fax transmittals to the contact.
donotphoneGets or sets a value that indicates whether to allow phone calls to the contact.
donotpostalmailGets or sets a value that indicates whether to allow sending postal mail to the contact.
donotsendmmGets or sets information regarding whether to allow sending marketing mail to the contact.
educationcodeGets or sets the formal education level that the contact has attained.
emailaddress1Gets or sets the first e-mail address for the contact.
emailaddress2Gets or sets the second e-mail address for the contact.
emailaddress3Gets or sets the third e-mail address for the contact.
employeeidGets or sets the employee ID of the contact.
exchangerateGets the exchange rate for the currency associated with the base currency of the contact.
externaluseridentifierGets or sets the identifier for an external user.
familystatuscodeGets or sets the marital status of the contact.
faxGets or sets the fax number for the contact.
firstnameGets or sets the first name of the contact.
ftpsiteurlGets or sets the FTP-site URL for the contact.
fullnameGets the full name of the contact.
gendercodeGets or sets the gender of the contact.
governmentidGets or sets the government ID for the contact.
haschildrencodeGets or sets a value that indicates whether the contact has children.
importsequencenumberGets or sets the ID for the data import or data migration that created this record.
isbackofficecustomerGets or sets a value that indicates whether the contact is in an associated Microsoft Great Plains database.
jobtitleGets or sets the job title of the contact.
lastnameGets or sets the last name of the contact.
lastusedincampaignGets the date and time when the contact was last contacted as a part of a marketing campaign.
leadsourcecodeGets or sets the source of the lead of the contact.
managernameGets or sets the name of the contact's manager.
managerphoneGets or sets the phone number of the contact's manager.
masteridGets the ID of the master contact for merge.
mergedGets information regarding whether the account has been merged with a master contact.
middlenameGets or sets the middle name of the contact.
mobilephoneGets or sets the mobile phone number for the contact.
modifiedbyGets the ID for the user who last modified the contact.
modifiedonGets the date and time when the contact was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the contact.
nicknameGets or sets the nickname of the contact.
numberofchildrenGets or sets how many children the contact has.
originatingleadidGets or sets the ID of the lead from which the contact was created.
overriddencreatedonGets or sets the date and time that the record was migrated.
owneridGets or sets the ID of the user or team that owns the contact.
owningbusinessunitGets the ID of the business unit that owns the contact.
pagerGets or sets the pager number for the contact.
parentcustomeridGets or sets the ID of the account or contact associated with the contact.
participatesinworkflowGets or sets a value that indicates whether the contact participates in workflow rules.
paymenttermscodeGets or sets the payment terms for the contact.
preferredappointmentdaycodeGets or sets the day of the week that the contact prefers for scheduling service activities.
preferredappointmenttimecodeGets or sets the time of day that the contact prefers for scheduling service activities.
preferredcontactmethodcodeGets or sets the method that the contact prefers for scheduling service activities.
preferredequipmentidGets or sets the ID of the facility/equipment preferred by the contact for scheduling service activities.
preferredserviceidGets or sets the ID of the service preferred by the contact for scheduling service activities.
preferredsystemuseridGets or sets the ID of the system user preferred by the contact for scheduling service activities.
salutationGets or sets the salutation for correspondence with the contact.
shippingmethodcodeGets or sets the method of shipping for the contact.
spousesnameGets or sets the name of the contact's spouse.
statecodeGets the status of the contact.
statuscodeGets or sets the reason for the status of the contact.
suffixGets or sets the suffix for the contact name, such as Jr., Sr., or III.
telephone1Gets or sets the first telephone number for the contact.
telephone2Gets or sets the second telephone number for the contact.
telephone3Gets or sets the third telephone number for the contact.
territorycodeGets or sets the ID of the territory to which the contact is assigned.
timezoneruleversionnumberFor internal use only.
transactioncurrencyidGets or sets the ID of the currency associated with the contact.
utcconversiontimezonecodeGets or sets the time-zone code in use when the record was created.
websiteurlGets or sets the Web site URL for the contact.
yomifirstnameGets or sets the Hiragana or Katakana phonetic guide for the contact first name, used for Yomi sorting.
yomifullnameGets the Hiragana or Katakana phonetic guide for the contact full name, used for Yomi sorting.
yomilastnameGets or sets the Hiragana or Katakana phonetic guide for the contact last name, used for Yomi sorting.
yomimiddlenameGets or sets the Hiragana or Katakana phonetic guide for the contact middle name, used for Yomi sorting.

Remarks

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

Requirements

Web Service: CrmService

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft