Promotes a submission phase and optionally attaches documents, given either the member IDs of a cell in the phase or the phase ID. You must pass one of the following:
If you use a phase ID, pass the HFMConstants MEMBERNOTUSED to the Account, Intercompany Partner, and Custom dimension parameters.
If you use member IDs for the above-mentioned parameters, pass MEMBERNOTUSED to the phase ID parameter.
<HsvProcessFlow>.PhasedSubmissionPromote2 lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, lPhasedID, vbUseAllValueMembers, bstrAnnotation, sProcessStateToPromoteTo, varabstrPaths, varabstrFiles, psNewProcessState
Argument | Description |
---|---|
lScenario | Long (ByVal). The member ID of the process unit's Scenario dimension member. |
lYear | Long (ByVal). The member ID of the process unit's Year dimension member. |
lPeriod | Long (ByVal). The member ID of the process unit's Period dimension member. |
lEntity | Long (ByVal). The member ID of the process unit's child Entity dimension member. |
lParent | Long (ByVal). The member ID of the process unit's parent Entity dimension member. |
lValue | Long (ByVal). The member ID of the process unit's Value dimension member. |
lAccount | Long (ByVal). Pass one of the following:
|
lICP | Long (ByVal). Pass one of the following:
|
lCustom1 | Long (ByVal). Pass one of the following:
|
lCustom2 | Long (ByVal). Pass one of the following:
|
lCustom3 | Long (ByVal). Pass one of the following:
|
lCustom4 | Long (ByVal). Pass one of the following:
|
lPhaseID | Long (ByVal). Pass one of the following:
|
vbUseAllValueMembers | Boolean (ByVal). Specifies whether to apply the action to submission phases for Value dimension members related to the lValue member. Pass TRUE to apply the action to related submission phases. |
bstrAnnotation | String (ByVal). The comment for the process management action. |
sProcessStateToPromoteTo | Integer (ByVal). The review level to apply to the submission phases. Valid values are represented by the constants listed in Process Management Review Level Constants. |
varabstrPaths | String array (ByVal). 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. |
varabstrFiles | String array (ByVal). 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. |
psNewProcessState | Integer. Returns the CEnumProcessFlowStates enumeration constant that represents the review level resulting from the action. See Table 136, CEnumProcessFlowStates Enumeration. |