SharesCalculation

Calculates ownership for the specified scenario, year, entity, and range of periods. Flags specify the calculation type and calculation mode.

Syntax

<HFMwSharesCalc>.SharesCalculation bstrScenario, bstrYear, varavarbstrPeriods, bstrParent, lCalcType, lCalcMode

Argument

Description

bstrScenario

The name of the scenario.

Input argument. String subtype.

bstrYear

The name of the year.

Input argument. String subtype.

varavarbstrPeriods

An array containing the names of the periods for which the calculation is to be performed.

Input argument.

bstrParent

The name of the entity that is to be used as the parent for the calculation.

Input argument. String subtype.

lCalcType

Specifies the type of calculation to be performed. Pass one of the HFMConstants type library constants listed in Share Calculation Types Constants.

Input argument. Long subtype.

lCalcMode

Specifies the calculation mode. Pass one of the HFMConstants type library constants listed in Share Calculation Ownership Constants.

Input argument. Long subtype.