Performs a promote action on the specified process unit.
To attach documents when promoting, use Promote2.
<HFMwManageProcess>.Promote (bstrScenario, bstrYear, bstrPeriod, bstrEntity, bstrParent, bstrValue, bstrComment, lProcessStateToPromoteTo)
The label of the parent of the entity specified in the bstrEntity argument. | |
A user comment for the action, or an empty string if there is no comment. | |
The review level to which the process unit is being promoted. Valid values are represented by the constants listed in Process Management Review Level Constants. |
Returns a number that represents the review level to which the process unit was promoted. Valid values are represented by the constants listed in Process Management Review Level Constants. Long subtype.
You can obtain a string that represents the review level by passing the return value to MapReviewLevelToString. |
The following example promotes the specified process unit to review level 8.
Dim cHFMProcMan, lLevel Set cHFMProcMan = _ Server.CreateObject("Hyperion.HFMwManageProcess") ' cHFMSession is a previously set HFMwSession object cHFMProcMan.SetWebSession cHFMSession lLevel = cHFMProcMan.Promote ("Budget", "2003", "April", _ "Connecticut", "UnitedStates", "<Entity Currency>", _ "", PROCESS_FLOW_STATE_REVIEW8)