PhasedSubmissionApprove2

Approves 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:

Syntax

<HsvProcessFlow>.PhasedSubmissionApprove2 lScenario, lYear, lPeriod, lEntity, lParent, lValue, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, lPhaseID, vbUseAllValueMembers, vbApplyToAllPeriods, bstrAnnotation, varabstrPaths, varabstrFiles, psNewProcessState
ArgumentDescription
lScenarioLong (ByVal). The member ID of the process unit's Scenario dimension member.
lYearLong (ByVal). The member ID of the process unit's Year dimension member.
lPeriodLong (ByVal). The member ID of the process unit's Period dimension member.
lEntityLong (ByVal). The member ID of the process unit's child Entity dimension member.
lParentLong (ByVal). The member ID of the process unit's parent Entity dimension member.
lValueLong (ByVal). The member ID of the process unit's Value dimension member.
lAccountLong (ByVal). Pass one of the following:
  • The member ID of the cell’s Account dimension member.

  • MEMBERNOTUSED

lICPLong (ByVal). Pass one of the following:
  • The member ID of the cell’s Intercompany Partner dimension member.

  • MEMBERNOTUSED

lCustom1Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom1 dimension member.

  • MEMBERNOTUSED

lCustom2Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom2 dimension member.

  • MEMBERNOTUSED

lCustom3Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom3 dimension member.

  • MEMBERNOTUSED

lCustom4Long (ByVal). Pass one of the following:
  • The member ID of the cell’s Custom4 dimension member.

  • MEMBERNOTUSED

lPhaseIDLong (ByVal). Pass one of the following:
vbUseAllValueMembersBoolean (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.
vbApplyToAllPeriodsBoolean (ByVal). 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.
bstrAnnotationString (ByVal). The comment for the process management action.
varabstrPathsString 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.

varabstrFilesString 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.

psNewProcessStateInteger. Returns the CEnumProcessFlowStates enumeration constant that represents the review level resulting from the action. See Table 136, CEnumProcessFlowStates Enumeration.