PerformBatchAction

Performs the specified action on a given set of journals. For example, you can approve or post journals with this method.

Syntax

<HFMwManageJournals>.PerformBatchAction (lAction, varabstrJournalLabels, bstrScenario, bstrYear, bstrPeriod)

Argument

Description

lAction

A flag that identifies the action to be performed. Valid values are represented by the HFMConstants type library constants listed in Journal Action Constants,

Input argument. Long subtype.

varabstrJournalLabels

An array containing labels of the journals on which to perform the action.

Input argument.

bstrScenario

The label of the journal’s Scenario dimension member.

Input argument. String subtype.

bstrYear

The label of the journal’s Year dimension member.

Input argument. String subtype.

bstrPeriod

The label of the journal’s Period dimension member.

Input argument. String subtype.

Return Value

Returns an array of HRESULTS that indicate whether the action was successfully performed for the journals. The array has a one-to-one correspondence with the array passed to the varabstrJournalLabels argument. A value of 0 means that the action succeeded for the corresponding journal, a non-zero error number indicates the action failed.