Applies a given process management action and attaches documents to submission phases for multiple Entity dimension members, given the member IDs of cells in the phases. The member IDs of the cells' Entity, Account, Intercompany Partner, and Custom dimension members are passed in arrays that have a one-to-one correspondence.
<HFMwManageProcess>.PhasedSubmissionProcessManagementChangeStateForMultipleEntities(bstrScenario, bstrYear, bstrPeriod, varabstrEntity, varabstrParent, bstrValue, varabstrAccount, varabstrICP, varabstrCustom1, varabstrCustom2, varabstrCustom3, varabstrCustom4, bstrComment, lAction, vbUseAllValueMembers, vbApplyToAllPeriods, sProcessStateToPromoteTo, varabstrPaths, varabstrFiles)
Argument | Description |
---|---|
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. |
varabstrEntity | An array containing the labels of the process units’ child Entity dimension members. Input argument. |
varabstrParent | An array containing the labels of the process units’ parent Entity dimension members. Note: The varabstrEntity and varabstrParent arguments’ arrays have a one-to-one correspondence. Input argument. |
bstrValue | The label of the process unit's Value dimension member. Input argument. String subtype. |
varabstrAccount | The member IDs of the cells' Account dimension members. Input argument. |
varabstrICP | The member IDs of the cells' Intercompany Partner dimension members. Input argument. |
varabstrCustom1 | The member IDs of the cells' Custom1 dimension members. Input argument. |
varabstrCustom2 | The member IDs of the cells' Custom2 dimension members. Input argument. |
varabstrCustom3 | The member IDs of the cells' Custom3 dimension members. Input argument. |
varabstrCustom4 | The member IDs of the cells' Custom4 dimension members. Input argument. |
bstrComment | A user comment for the action, or an empty string if there is no comment. Input argument. String subtype. |
lAction | The action to apply to the submission phases. Valid values are represented by the HFMConstants type library constants listed in Process Management Action Constants. Input argument. Long subtype. |
vbUseAllValueMembers | Specifies 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. |
vbApplyToAllPeriods | Specifies whether to apply the action to submission phases containing base periods that intersect with the specified dimension members. Pass TRUE to apply the action to all such submission phases. Input argument. Boolean subtype. |
sProcessStateToPromoteTo | The process management level to apply to the process units. Valid values are represented by the HFMConstants type library constants listed in Process Management Review Level Constants. Input argument. Integer 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. |
Returns the CEnumProcessFlowStates enumeration constant that represents the submission phases' review level. See Process Management Review Level Constants.