GetItemID

Returns the internal ID of a journal. You pass the journal’s label and GetItemID returns the journal ID. Use GetItemID to get journal IDs for methods that take these IDs as arguments.

Syntax

<HsvJournals>.GetItemID(lCategory, lYear, lPeriod, bstrLabel)

Argument

Description

lCategory

Long (ByVal). The member ID of the Scenario dimension member.

lYear

Long (ByVal). The member ID of the Year dimension member.

lPeriod

Long (ByVal). The member ID of the Period dimension member.

bstrLabel

String (ByVal). The label of the journal for which you want to get the ID.

Return Value

Long. The ID number of the journal.

Example

GetItemID is used in the Example for ApproveJournals.