ClosePeriodMultiple

Closes a given set of periods for the specified year and scenario.

Syntax

<HFMwManageJournals>.ClosePeriodMultiple (bstrScenario, bstrYear, vaPeriods)

Argument

Description

bstrScenario

The label of the Scenario dimension member.

Input argument. String subtype.

bstrYear

The label of the Year dimension member.

Input argument. String subtype.

vaPeriods

An array containing the labels of the Period dimension members to close.

Input argument.

Return Value

Returns an array of HRESULTS that indicate whether the periods were successfully closed. The array has a one-to-one correspondence with the array passed to the vaPeriods argument. A value of 0 means that the corresponding period was closed, a non-zero error number indicates the period was not closed.