IDFromMember
Gets the ID number for the specified member. This function can be used in these types of rules:
-
Calculation
-
Translation
-
Consolidation
-
Allocation
Syntax
HS.<Object>.IDFromMember("Element")
Table 11-29 Syntax for IDFromMember Function
Parameter | Description |
---|---|
<Object> |
One of these object keywords:
|
Element |
Depending on the object selected, the name of a valid member of one of these dimensions:
|
Return Value
The ID number of the specified member. If the member entry is not a valid member, the return value will be -1.
Example
This example gets the ID number for Connecticut:
1EntityID = HS.Entity.IDFromMember("Connecticut")
1CustomID=HS.Custom("Prod").IDFromMember("P3000-Phones")