The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
sfilho
3 years agoNew Contributor III
Getting Text1 Value for Account Dimension Varying by Scenario BRApi
Good Evening,
It should be something simple but apparently I am missing something. I am trying to get the Value for the Text1 field for an Account Dimension member using a Business Rule. The Text1 ...
- 3 years ago
Did you try BRApi.Finance.Account.Text ?
for example:
'Get the member ID for the Cash account, 5 is the Account dimension dim type Dim memberID As Integer = BRApi.Finance.Members.GetMemberId(si, 5, "Cash") 'Get the Text1 value for the default scenario type and time. The two "-1" are the defaults scenario dim type and time. Dim acctText1 As String = BRApi.Finance.Account.Text(si, memberId, 1, -1, -1)
Gidon_Albert
3 years agoContributor II
Did you try BRApi.Finance.Account.Text ?
for example:
'Get the member ID for the Cash account, 5 is the Account dimension dim type
Dim memberID As Integer = BRApi.Finance.Members.GetMemberId(si, 5, "Cash")
'Get the Text1 value for the default scenario type and time. The two "-1" are the defaults scenario dim type and time.
Dim acctText1 As String = BRApi.Finance.Account.Text(si, memberId, 1, -1, -1)
- sfilho3 years agoNew Contributor III
Hi there, thank you for the help.
Yes it did work perfectly. Thank you!!
Related Content
- 2 years ago
- 3 years ago