Performs a reject action on the specified process unit.
To attach documents while performing a rejection, use Reject2.
<HFMwManageProcess>.Reject (bstrScenario, bstrYear, bstrPeriod, bstrEntity, bstrParent, bstrValue, bstrComment)
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. |
Returns a number that represents the review level in which the rejection results. 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 rejects 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.Reject("Budget", "2003", "April", _ "Connecticut", "UnitedStates", "<Entity Currency>", _ "Exceeds new budget.") Response.Write "<p>Review level: " & _ cHFMProcMan.MapReviewLevelToString(lLevel) & "</p>"