PhaseSubmissionPromote

Promotes a submission phase, given either the member labels of a cell in the phase or the phase ID. You must pass one of the following:

Syntax

<HFMwManageProcess>.PhaseSubmissionPromote(bstrScenario, bstrYear, bstrPeriod, bstrEntity, bstrParent, bstrValue, bstrAccount, bstrICP, bstrCustom1, bstrCustom2, bstrCustom3, bstrCustom4, lPhaseID, vbUseAllValueMembers, bstrAnnotation, lProcessStateToPromoteTo, varabstrPaths, varabstrFiles)
ArgumentDescription
bstrScenario

The label of the process unit's Scenario dimension member.

Input argument. String subtype.

bstrYear

The label of the process unit's Year dimension member.

Input argument. String subtype.

bstrPeriod

The label of the process unit's Period dimension member.

Input argument. String subtype.

bstrEntity

The label of the process unit's Entity dimension member.

Input argument. String subtype.

bstrParent

The label of the parent of the entity specified in the bstrEntity argument.

Input argument. String subtype.

bstrValue

The label of the process unit's Value dimension member.

Input argument. String subtype.

bstrAccount

Pass one of the following:

  • The label of the cell's Account dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

bstrICP

Pass one of the following:

  • The label of the cell's Intercompany Partner dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

bstrCustom1

Pass one of the following:

  • The label of the cell's Custom1 dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

bstrCustom2

Pass one of the following:

  • The label of the cell's Custom2 dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

bstrCustom3

Pass one of the following:

  • The label of the cell's Custom3 dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

bstrCustom4

Pass one of the following:

  • The label of the cell's Custom4 dimension member.

  • MEMBERNOTUSED

Input argument. String subtype.

lPhaseID

Pass one of the following:

  • The phase ID.

  • MEMBERNOTUSED

Input argument. Long subtype.

vbUseAllValueMembersSpecifies whether to apply the action to submission phases for Value dimension members related to the bstrValue member. Pass TRUE to apply the action to related submission phases.

Input argument. Boolean subtype.

bstrAnnotationA user comment for the action, or an empty string if there is no comment.

Input argument. String subtype.

lProcessStateToPromoteTo

The review level to apply to the submission phases. Valid values are represented by the constants listed in Process Management Review Level Constants.

Input argument. Long subtype.

varabstrPaths

The paths in which the documents to be attached have been loaded. Folders in the path are delimited by backslashes ( \ ).

This array has a one-to-one correspondence with the varabstrFiles argument’s array of filenames.

Input argument.

varabstrFiles

The file names of the documents to attach.

Note:

Files must be loaded in the folder specified by the corresponding item in the varabstrPaths argument’s array, otherwise an error will be thrown.

Input argument.

Return Value

Returns the CEnumProcessFlowStates enumeration constant that represents the submission phase's review level. See Process Management Review Level Constants. Long subtype.