GetNumLID

Gets the number of line item details for the specified point of view. This function can be used in these types of rules:

  • Calculation

  • Translation

  • Consolidation

  • Allocation

Syntax

HS.GetNumLID("POVExpression")

where POVExpression is a valid POV combination. If you do not specify a dimension, these values are used:

  • Account - [none]

  • ICP - [ICP None]

  • Custom1...4 - [None]

  • Scenario - Current Scenario member

  • Entity - Current Entity member

  • Value - <entity currency>

  • Year and Period - Current member

    Note:

    If an invalid intersection is specified, the return value is 0.

Return Value

The number of line item details entered for the specified cell.

Example

In this example, if no line item details have been entered for the specified cell, then statements between the If...Then and End If lines are executed.

If HS.GetNumLID("A#Sales.C1#Prod1.C2#Region1") = 0 then
  ...
End If