SecurityAsPartner

Gets the security class assigned to the specified entity or parent when the entity or parent is used as an intercompany partner. This function can be used in these types of rules:

  • Calculation

  • Translation

  • Consolidation

  • Allocation

Syntax

HS.Entity.SecurityAsPartner("Entity")
HS.Entity.SecurityAsPartner("")
HS.Entity.SecurityAsPartner(Var1)
HS.Parent.SecurityAsPartner("Entity")

Note:

Use a blank string ( "" ) to apply this function to the current entity member.

Table 11-44 Syntax for SecurityAsPartner Function

Parameter Description

Entity

Name of a valid Entity dimension member.

Var1

A VisualBasic variable.

Return Value

A string with the security class assigned to the entity or parent when it is used as an ICP.

Example

In this example, if Class1 is the security class for France as it is used as an intercompany partner, then statements between the If...Then and If...End statements are executed:

If HS.Entity.SecurityAsPartner("France") = "Class1" Then
  ...
End If
If HS.Parent.SecurityAsPartner("France") = "Class1" Then
...
End If