CreateJournal

Creates an HFMwJournal object, applying the specified label, journal type, and Point of View to the journal.

Tip:

To save the journal, pass the HFMwJournal object returned by CreateJournal to SaveJournal.

Syntax

<HFMwManageJournals>.CreateJournal (bstrLabel, lType, bstrScenario, bstrYear, bstrPeriod, bstrValue)

Argument

Description

bstrLabel

The label for the journal.

Input argument. String subtype.

lType

The journal type. Valid values are represented by the HFMConstants type library constants listed in Journal Type Constants.

Input argument. Long subtype.

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.

bstrValue

The label of the journal’s Value dimension member.

Input argument. String subtype.

Return Value

Returns an HFMwJournal object reference.