Share via


contracttemplate EntityType

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

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

Base Type: crmbaseentity EntityType

Display Name: Contract Template

Primary Key: contracttemplateid

Primary Name Attribute: name

Properties

Lookup Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are read-only.

Name

Type

Details

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

BooleanManagedProperty ComplexType

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

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties

Name

Single-valued navigation property

Description

_createdby_value

createdby

Unique identifier of the user who created the contract template.

_createdonbehalfby_value

createdonbehalfby

Unique identifier of the delegate user who created the contracttemplate.

_modifiedby_value

modifiedby

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

_modifiedonbehalfby_value

modifiedonbehalfby

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

_organizationid_value

organizationid

Unique identifier of the organization associated with the contract template.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

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

ContractTemplate_SyncErrors

syncerror EntityType

regardingobjectid_contracttemplate_syncerror

See Also

Use the Microsoft Dynamics 365 Web API
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 365

© 2016 Microsoft. All rights reserved. Copyright