contracttemplate EntityType

Description: Template for a contract containing the standard attributes of a contract.

Entity Set path: [organization URI]/api/data/v8.0/contracttemplates

Base Type: crmbaseentity EntityType

Display Name: Contract Template

Primary Key: contracttemplateid

Primary Name Attribute: name

Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the contract template.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the contracttemplate.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the contract template.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who last modified the contracttemplate.

Computed property

Read-only property

_organizationid_value

Edm.Guid

Description: Unique identifier of the organization associated with the contract template.

Computed property

Read-only property

abbreviation

Edm.String

Description: Abbreviation of the contract template name.

Display Name: Abbreviation

allotmenttypecode

Edm.Int32

Description: Criteria for the contracts based on the template, such as number of cases, time, or coverage dates.

Default Options:

1 : Number of Cases
2 : Time
3 : Coverage Dates

Display Name: Allotment Type

billingfrequencycode

Edm.Int32

Description: How often the customer or account is to be billed in contracts that are based on the template.

Default Options:

1 : Monthly
2 : Bimonthly
3 : Quarterly
4 : Semiannually
5 : Annually

Display Name: Billing Frequency

componentstate

Edm.Int32

Description: For internal use only.

Default Options:

0 : Published
1 : Unpublished
2 : Deleted
3 : Deleted Unpublished

Display Name: Component State

Read-only property

contractservicelevelcode

Edm.Int32

Description: Unique identifier of the level of service specified in contracts that are based on the template.

Default Options:

1 : Gold
2 : Silver
3 : Bronze

Display Name: Contract Service Level

contracttemplateid

Edm.Guid

Description: Unique identifier of the contract template.

Display Name: Contract Template

contracttemplateidunique

Edm.Guid

Description: For internal use only.

Read-only property

createdon

Edm.DateTimeOffset

Description: Date and time when the contract template was created.

Display Name: Created On

Read-only property

description

Edm.String

Description: Description of the contract template.

Display Name: Description

effectivitycalendar

Edm.String

Description: Days of the week and times for which contracts based on the template are effective.

Display Name: Support Calendar

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

introducedversion

Edm.String

Description: Version in which the form is introduced.

Display Name: Introduced Version

iscustomizable

mscrm.BooleanManagedProperty

Description: Information that specifies whether this component can be customized.

Display Name: Customizable

ismanaged

Edm.Boolean

Description: Indicates whether the solution component is part of a managed solution.

Default Options:

1 : Managed
0 : Unmanaged

Display Name: Is Managed

Read-only property

modifiedon

Edm.DateTimeOffset

Description: Date and time when the contract template was last modified.

Display Name: Modified On

Read-only property

name

Edm.String

Description: Name of the contract template.

Display Name: Name

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

overwritetime

Edm.DateTimeOffset

Description: For internal use only.

Display Name: Record Overwrite Time

Read-only property

solutionid

Edm.Guid

Description: Unique identifier of the associated solution.

Display Name: Solution

Read-only property

usediscountaspercentage

Edm.Boolean

Description: Specifies whether the discount is a percentage or a monetary amount in contracts based on the template.

Default Options:

1 : Yes
0 : No

Display Name: Use Discount as Percentage

versionnumber

Edm.Int64

Description: Version number of the contract template.

Display Name: Version Number

Read-only property

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

Name Type Partner

createdby

systemuser EntityType

lk_contracttemplatebase_createdby

createdonbehalfby

systemuser EntityType

lk_contracttemplate_createdonbehalfby

modifiedby

systemuser EntityType

lk_contracttemplatebase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_contracttemplate_modifiedonbehalfby

organizationid

organization EntityType

organization_contract_templates

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner

contract_template_contracts

contract EntityType

contracttemplateid

ContractTemplate_AsyncOperations

asyncoperation EntityType

regardingobjectid_contracttemplate

ContractTemplate_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_contracttemplate

Vea también

Otros recursos

Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.