HFM: ERROR Object doesn't support this property or method: 'HS.Custom5'
Hi,
I am deploying an HFM 11.1.2.4 application. This application has 5 custom dimensions.
I'm facing a problem writing the vbscript for this app since we are using 5 dimensions.
here is part of the script..
Set DataUnit=HS.OpenDataUnit("")
NumItems=DataUnit.GetNumItems
For i=0 to NumItems-1
Call DataUnit.GetItemExtDim(i, Account, ICP, sCustom, Data)
UD3=HS.Account.UD3("")
UndSco=Instr(UD3,"_")
If UndSco>0 Then
Rule=Left(UD3,UndSco-1)
If HS.Custom5.IsDescendant("ELIM_AUTO",sCustom(4,1)) Then
Nature=".Custom5#"& Right(UD3, Len(UD3) - UndSco) &"_FISC"
End If
...
Else
Rule=UD3
Nature=""
End If
What happens is that it isn´t recognizing the function HS.Custom.IsDescendant giving the following error: ERROR Object doesn't support this property or method: 'HS.Custom5'.