Argomento precedente: CreateContract

Argomento successivo: CreateContractFromServiceDefinition

CreateContractFromContractTemplate

Description

This method creates a contract from the input data and a contract template.

Syntax

long CreateContractFromContractTemplate (ContractData cData, long contractTemplateFolderItemID);

Parameters

Name

Type

Description

cData

ContractData

The contract data to use.

contractTemplateFolderItemID

long

The ID of the contract template to use.

Return Value

The ID of the new contract, as type long.

Remarks

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

The ContractData object provided for this method should be filled with an ID for every sub-entity of which it consists (for example, the contract’s corresponding primary contract party).