contract Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Represents an agreement to provide customer service during specified coverage dates, for a specified number of cases or an amount of time.
For a list of methods and messages that operate on this class, see Contract Entity Capabilities.
The contract class inherits from BusinessEntity. It exposes the following members.
|contract||Initializes a new instance of the contract class.|
|activeon||Gets or sets the date and time when the contract becomes active.|
|allotmenttypecode||Gets or sets the type of allotment that the contract supports.|
|billingcustomerid||Gets or sets the ID of the account or contact to which the contract is to be billed.|
|billingendon||Gets or sets the date and time when the billing period ends.|
|billingfrequencycode||Gets or sets how often the customer or account is to be billed.|
|billingstarton||Gets or sets the date and time when the billing period begins.|
|billtoaddress||Gets or sets the address to bill for contract charges.|
|cancelon||Gets the date when the contract was canceled.|
|contractid||Gets or sets the ID of the contract.|
|contractlanguage||Gets or sets the description of the contract.|
|contractnumber||Gets or sets the system-generated contract identification number.|
|contractservicelevelcode||Gets or sets the response level or level of service specified for the contract.|
|contracttemplateabbreviation||Gets the abbreviation of the contract template name.|
|contracttemplateid||Gets or sets the ID of the template associated with the contract.|
|createdby||Gets the ID of the user who created the contract.|
|createdon||Gets the date and time when the contract was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the contract record.|
|customerid||Gets or sets the ID of the account or contact associated with the contract.|
|duration||Gets the calculated duration of the contract in days.|
|effectivitycalendar||Gets or sets the days of the week and times during which customer service support is available for the duration of the contract.|
|exchangerate||Gets the exchange rate for the currency associated with the contact with respect to the base currency.|
|expireson||Gets or sets the date when the contract expires.|
|importsequencenumber||Gets or sets the ID of the data import or data migration that created this record.|
|modifiedby||Gets the ID of the user who last modified the contract.|
|modifiedon||Gets the date and time when the contract was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the contract.|
|netprice||Gets the sum of all net values calculated on the contract lines.|
|netprice_base||Gets the base-currency equivalent for the sum of all net values calculated on the contract lines.|
|originatingcontract||Gets or sets the ID of the original contract from which this current contract was derived.|
|overriddencreatedon||Gets or sets the date and time that the record was migrated.|
|ownerid||Gets or sets the ID of the user or team that owns the contract.|
|owningbusinessunit||Gets the ID of the business unit that owns the contract.|
|serviceaddress||Gets or sets the ID of the address at which service is to be provided.|
|statecode||Gets the status of the contract.|
|statuscode||Gets or sets the reason for the status of the contract.|
|timezoneruleversionnumber||For internal use only.|
|title||Gets or sets the title of the contract.|
|totaldiscount||Gets the total of all discounts specified on the contract lines.|
|totaldiscount_base||Gets the base-currency equivalent of the total for all discounts specified on the contract lines.|
|totalprice||Gets the total price of the contract.|
|totalprice_base||Gets the total price base of the contract.|
|transactioncurrencyid||Gets or sets the ID for the currency associated with the contract.|
|usediscountaspercentage||Gets or sets a value that indicates whether the discount is a percentage or a monetary amount.|
|utcconversiontimezonecode||Gets or sets the time zone code used when the record was created.|
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.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.