Click or drag to resize

ContractDetail Class

Line item in a contract that specifies the type of service a customer is entitled to.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceContractDetail

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ContractDetail : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The ContractDetail type exposes the following members.

Constructors
 NameDescription
Public methodContractDetail Default Constructor.
Top
Properties
 NameDescription
Public propertyAccountId Unique identifier of the account with which the contract is associated.
Public propertyActiveOn Enter the date when the contract line becomes active.
Public propertyAllotmentsOverage Shows the number of minutes over the Total Allotments field that have been spent on resolved cases related to the contract line.
Public propertyAllotmentsRemaining Shows the number of cases or minutes remaining, based on the resolved cases logged to the contract line.
Public propertyAllotmentsUsed Shows the number of cases or minutes used in the resolved cases on the contract line.
Public propertyAttributes
(Inherited from Entity)
Public propertyContactId Unique identifier for the contact associated with the contract line.
Public propertycontract_detail_cases 1:N contract_detail_cases
Public propertycontract_detail_unit_of_measure_schedule N:1 contract_detail_unit_of_measure_schedule
Public propertycontract_line_items N:1 contract_line_items
Public propertyContractDetail_Annotation 1:N ContractDetail_Annotation
Public propertyContractDetail_AsyncOperations 1:N ContractDetail_AsyncOperations
Public propertyContractDetail_BulkDeleteFailures 1:N ContractDetail_BulkDeleteFailures
Public propertycontractdetail_principalobjectattributeaccess 1:N contractdetail_principalobjectattributeaccess
Public propertyContractDetail_ProcessSessions 1:N ContractDetail_ProcessSessions
Public propertyContractDetail_SyncErrors 1:N ContractDetail_SyncErrors
Public propertyContractDetailId Unique identifier of the contract line.
Public propertyContractId Unique identifier of the contract associated with the contract line.
Public propertycontractlineitem_customer_accounts N:1 contractlineitem_customer_accounts
Public propertycontractlineitem_customer_contacts N:1 contractlineitem_customer_contacts
Public propertyContractStateCode Status of the contract.
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertycustomer_address_contract_line_items N:1 customer_address_contract_line_items
Public propertyCustomerId Select the customer account or contact to provide a quick link to additional customer details, such as address, phone number, activities, and orders.
Public propertyDiscount Type the discount amount for the contract line to deduct any negotiated or other savings from the net amount due.
Public propertyDiscount_Base Shows the Discount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyDiscountPercentage Type the discount rate that should be applied to the Total Price, for use in calculating the net amount due for the contract line.
Public propertyEffectivityCalendar Days of the week and times for which the contract line item is effective.
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.
Public propertyExpiresOn Enter the date when the contract line expires. The date is automatically filled with the contract date, but you can change it if required.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyInitialQuantity Type the number of units of the specified product or service that are eligible for support on the contract line.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLineItemOrder Type the line item number for the contract line to easily identify the contract line and make sure it's listed in the correct order in the parent contract.
Public propertylk_contractdetail_createdonbehalfby N:1 lk_contractdetail_createdonbehalfby
Public propertylk_contractdetail_modifiedonbehalfby N:1 lk_contractdetail_modifiedonbehalfby
Public propertylk_contractdetailbase_createdby N:1 lk_contractdetailbase_createdby
Public propertylk_contractdetailbase_modifiedby N:1 lk_contractdetailbase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertyNet Shows the total charge to the customer for the contract line, calculated as the Total Price minus any discounts.
Public propertyNet_Base Shows the Net field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Unique identifier of the user or team who owns the contract detail.
Public propertyOwningBusinessUnit Unique identifier of the business unit that owns the contract line.
Public propertyOwningUser Unique identifier of the user who owns the contract line.
Public propertyPrice Type the total service charge for the contract line before any discounts are credited.
Public propertyPrice_Base Shows the Total Price field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyproduct_contract_line_items N:1 product_contract_line_items
Public propertyProductId Choose the product that is eligible for services on the contract line.
Public propertyProductSerialNumber Type the serial number for the product that is eligible for services on the contract line.
Public propertyRate Shows the cost per case or minute, calculated by dividing the Total Price value by the total number of cases or minutes allocated to the contract line.
Public propertyRate_Base Shows the Rate field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertyServiceAddress Choose the address for the customer account or contact where the services are provided.
Public propertyServiceContractUnitsCode Select the unit type allotted in the contract line, such as cases or minutes, to determine the level of support.
Public propertyStateCode Shows whether the contract line is existing, renewed, canceled, or expired. You can't edit a contract line after it is saved, regardless of the status.
Public propertyStatusCode Select the contract line's status.
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTitle Type a title or name that describes the contract line.
Public propertyTotalAllotments Type the total number of minutes or cases allowed for the contract line.
Public propertytransactioncurrency_contractdetail N:1 transactioncurrency_contractdetail
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyunit_of_measurement_contract_line_items N:1 unit_of_measurement_contract_line_items
Public propertyUoMId Choose the unit of measurement for the base unit quantity for this purchase, such as each or dozen.
Public propertyUoMScheduleId Unique identifier of the unit group associated with the contract line.
Public propertyuserentityinstancedata_contractdetail 1:N userentityinstancedata_contractdetail
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the contract template.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also