Solved
Forum Discussion
NicolasArgente
2 years agoValued Contributor
Hey Marcus,
There is a native easier function to do that :
Dim sValue As String = BRApi.Finance.Entity.RelationshipText(si, _
entityId, parentId, textPropertyIndex, varyByScenarioTypeId, varyByTimeId)
sValue = BRApi.Finance.Entity.RelationshipText(si, 0, -2, 900100, 0, 2021009000)
But to be honest, I tried it on my side without success. No idea why. It seems pretty straighforward but no success!
- MarcusH2 years agoValued Contributor
It works for me - I think the problem with your code is the 4th parameter - textPropertyIndex - I think that should not be 0.
Thank you. I really appreciate that you have taken the time to sort out the problem.
- NicolasArgente2 years agoValued Contributor
Oh! You are correct - I did not spot that! Thanks MarcusH for the feedback. Appreciated.
Related Content
- 2 years ago
- 12 months ago