Argomento precedente: Contract Creation Methods

Argomento successivo: CreateContractFromContractTemplate

CreateContract

Description

This method creates a contract from the input data.

Syntax

long CreateContract (ContractData contractData);

Parameters

Name

Type

Description

contractData

ContractData

The data to use to create the contract.

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).