Vorheriges Thema: Contract Versioning and Deleting Methods

Nächstes Thema: CreateNewContractVersion

CommitContract

Description

This method commits the specified contract version changes, making it effective for data calculation.

Syntax

ActionInfoCollection CommitContract (long ContractVersionID, string Justification, bool forceCommit);

Parameters

Name

Type

Description

ContractVersionID

long

The ID of the contract version.

Justification

string

Text describing the reasons for committing the contract changes, and any additional comments.

forceCommit

bool

Specifies whether to force the commit.

Return Value

An ActionInfoCollection object, which is a collection of zero or more ActionInfo items with information about the failure or success of the commit process.

Each ActionInfo item consists of:

Remarks

If the value of forceCommit is set to false, the contract is not committed at all; a notification will be issued if there is a Warning. If the forceCommit argument is set to to true, the contract will be committed despite any warnings.