Vorheriges Thema: ContractTemplate Versioning Methods

Nächstes Thema: CommitContractTemplate

CreateNewContractTemplateVersion

Description

This method creates a new version of the specified contract template.

Syntax

long CreateNewContractTemplateVersion (ContractTemplateData contractTemplateData, long contractTemplateFolderItemId);

Parameters

Name

Type

Description

contractTemplateData

ContractTemplateData

The data to use to create the new version.

ContractTemplateFolderItemId

long

The ID of the contract template folder item.

Return Value

The ID of the new contract template version, as type long.

Remarks

The method validates the data sent to it and may throw a validation exception upon failure.

The data provided in the ContractTemplateData object replaces the data of the existing contract template version, and cannot be left unfilled or partially filled. An ID for every sub-entity of which the data structure consists must be provided (for example, the contract’s corresponding service components).