Vorheriges Thema: ContractTemplate Creation Methods

Nächstes Thema: ContractTemplate Details Methods

CreateContractTemplate

Description

This method creates a contract template from the input data.

Syntax

long CreateContractTemplate (ContractTemplateData contractTemplateData, PortfolioContainerType ContractTemplateContainerType, long ContractTemplateContainerID);

Parameters

Name

Type

Description

contractTemplateData

ContractTemplateData

The data to use to create the new contract template.

ContractTemplateContainerType

PortfolioContainerType

The container type of the new contract template.

ContractTemplateContainerID

long

The container ID of the new contract template.

Return Value

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

Remarks

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

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