Argomento precedente: CommitContract

Argomento successivo: DeleteContractVersion

CreateNewContractVersion

Description

This method creates a new contract version.

Syntax

long CreateNewContractVersion (ContractData cData, long ContractVersionID);

Parameters

Name

Type

Description

cData

ContractData

The data to use to create the new contract version.

ContractVersionID

long

The ID of the current contract version.

Return Value

The ID of the new contract 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 ContractData object replaces the data of the existing contract 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 primary contract party).