contracttemplate EntityType
Updated: November 29, 2016
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 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 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 Display Name: Billing Frequency |
componentstate | Edm.Int32 | Description: For internal use only. Default Options: 0 : Published 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 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 | 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 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 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 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 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 | lk_contracttemplatebase_createdby | |
createdonbehalfby | lk_contracttemplate_createdonbehalfby | |
modifiedby | lk_contracttemplatebase_modifiedby | |
modifiedonbehalfby | lk_contracttemplate_modifiedonbehalfby | |
organizationid | organization_contract_templates |
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 | contracttemplateid | |
ContractTemplate_AsyncOperations | regardingobjectid_contracttemplate | |
ContractTemplate_BulkDeleteFailures | regardingobjectid_contracttemplate | |
ContractTemplate_SyncErrors | regardingobjectid_contracttemplate_syncerror |
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright