DeleteJournals

Deletes the specified journals for a given scenario, year, and period.

Syntax

<HFMwManageJournals>.DeleteJournals (varabstrLabels, bstrScenario, bstrYear, bstrPeriod)

Argument

Description

varabstrLabels

An array containing the labels of the journals to be deleted.

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 journals were successfully deleted. The array has a one-to-one correspondence with the array passed to the varabstrLabels argument. A value of 0 means that the corresponding journal was deleted, a non-zero error number indicates the journal was not deleted.