Unable to Calculate Currency Override only for Accounts with Text Filter.
Hello All,
I am new to OneStream trying to write a Value Override business rule for some investment accounts, The rule works without account filter. How ever I want to restrict this to Accounts with Text2 tag as "CADOverride". Somehow the value becomes zero if I have the Text 2 filter and not sure where am I doing wrong, (I am currently just checking if text 2 is not null and it seems to be retuning empty)
Dim foreignCurrency As String = api.Pov.Cons.Name
If ((Not api.Entity.HasChildren()) And (api.Cons.IsForeignCurrencyForEntity())) Then
Dim overrideAcc As String = api.Account.Text(api.Pov.Account.MemberId, 2)
If String.IsNullOrEmpty(overrideAcc) Then
Select Case foreignCurrency
Case "CAD"
api.data.calculate("F#EndBal= RemoveNoData(F#CADOverrideInput:C#Local)")
End Select
End If
End If
How should I proceed to troubleshoot this?
Any ideas are appreciated,
Thanks,
Manoj

