GetUnassignedGroups

Returns the names of submission groups assigned to dimension members but not to submission phases, and of submission groups assigned to submission phases but not to members.

Syntax

<HsvData>.GetUnassignedGroups lScenario, lPeriodID, pbstrMetaNoPhase, pbstrPhaseNoMeta
ArgumentDescription
lScenarioLong (ByVal). The member ID of the process unit's Scenario dimension member.
lPeriodIDLong (ByVal). The member ID of the process unit's Period dimension member.
pbstrMetaNoPhaseString. Returns the names of the submission groups assigned to dimension members but not to submission phases.
pbstrPhaseNoMetaString. Returns the names of the submission groups assigned to submission phases but not to members.

Example

The following function returns the names of submission groups assigned to submission phases but not to members.

Function getGroupsNoMembers(lScen As Long, lPer As Long)
Dim cData As HsvData, sMetaNoPhase As String, sRet As String
'g_csession is an HsvSession object reference
Set cData = g_cSession.Data
cData.GetUnassignedGroups lScen, lPer, sMetaNoPhase, sRet
getGroupsNoMembers = sRet
End Function