Returns IDs of one or more journals. You can return IDs of all journals or return only those IDs that meet filtering criteria that you specify.
<IHsvJournalsEx>.GetJournalQueryDefinitionIDs lScenario, lYear, lPeriod, lValue, varalColumns, vararvFilters, var2DalColumnsSort, pvararlJournalIDs
Long (ByVal). The member ID of the Scenario dimension member. | |
Long array (ByVal). This array specifies the display columns. To create this array, use the HFMConstants type library constants listed in Journal Column Display Constants. | |
Variant (ByVal). Enables you to filter out journals: When filtering journals, each array element corresponds to a type of filter. The available filters and their indexes in this 32-element array are described in Table 64, Journal Filter Array Elements. Define only those elements that correspond to the desired filtering criteria; if you do not want to use a filter, leave the corresponding array element empty. | |
Long array (ByVal). Specifies the columns to be sorted by and whether the sort order is ascending or descending. This is a two-dimensional array, where the first dimension specifies the sort columns and the second dimension specifies the sort order. Apply the following rules when defining this array:
For example, suppose you want to sort by status and then by label, with both sorts in ascending order. This array would be defined as follows: (0, 0) = COLUMN_JOURNALSTATUS (0, 1) = 0 (1, 0) = COLUMN_JOURNALLABEL (1, 1) = 0 | |
Variant array. Returns the ID numbers of the journals that match the criteria specified in the arguments. The array is returned as a Long subtype. |
The following table lists the index numbers, corresponding display columns, and descriptions of the supported elements in the array passed to the vararvFilters argument.
The array passed to the vararvFilters argument is a 32-element array. Indexes for this array that are not listed in the following table are reserved for future use. |
Table 64. Journal Filter Array Elements
A String containing the desired label. You can use the percentage sign ( % ) as a wildcard character. | ||
An array of Longs containing the journal statuses to be applied. These statuses are represented by the HFMConstants type library constants listed in Journal Status Constants. | ||
An array of Longs containing the journal types to be applied. These journal types are represented by the HFMConstants type library constants listed in Journal Type Constants. | ||
An array of Longs containing the balance types to be applied. These balance types are represented by the HFMConstants type library constants listed in Balance Type Constants. | ||
A String containing the name of the desired journal group. You can use the percentage sign ( % ) as a wildcard character. | ||
A String containing the name of the desired description. You can use the percentage sign ( % ) as a wildcard character. | ||
The member ID (Long) of the parent entity by which to filter. |
GetJournalQueryDefinitionIDs is used in the Example for GetJournalDisplayData.