Performs a publish action on the specified process unit. The vbApplyToAllPeriods argument determines whether the action applies to one or to multiple process units.
To attach documents while publishing an action, use Publish2.
<HFMwManageProcess>.Publish (bstrScenario, bstrYear, bstrPeriod, bstrEntity, bstrParent, bstrValue, vbApplyToAllPeriods, bstrComment)
Returns a number that represents the process unit’s review level. 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 performs a publish action for the specified process unit and prints the resulting review level to the browser.
Dim cHFMProcMan, lLevel Set cHFMProcMan = _ Server.CreateObject("Hyperion.HFMwManageProcess") ' cHFMSession is a previously set HFMwSession object cHFMProcMan.SetWebSession cHFMSession lLevel = cHFMProcMan.Publish("Budget", "2003", "April", _ "Connecticut", "UnitedStates", "<Entity Currency>", FALSE, _ "") Response.Write "<p>Review level: " & _ cHFMProcMan.MapReviewLevelToString(lLevel) & "</p>"