Vorheriges Thema: GetContractTemplateMetrics

Nächstes Thema: DeleteContractTemplateMetric

CCE—INS—GetContractTemplateLastCommittedMetrics

Description

This method gets a list of metrics of the last committed version of the specified contract template for which the name matches the search string.

Syntax

EntityListData GetContractTemplateLastCommittedMetrics (long contraFolderItemID, string searchText);

Parameters

Name

Type

Description

contraFolderItemID

long

The ID of the contract template item.

searchText

string

The text to search for.

The search string is optional and may be left empty. If used, it may contain an asterisk as a wildcard for the search.

Return Value

The metrics of the last, committed Contract Template, as type EntityListData.

Note: Returns metrics only if there is a committed version.

Remarks

An EntityListData object is returned as a collection of EntityListItemData items, which contains both the name and ID of every object.

Note: The status (effective, not effective, pending) does not have an affect; the sole consideration is whether the template is "committed" or not committed.

Note: Throws an error when the Contract Template has no committed version.