Forum Discussion
Hatim_Elhaouma
6 months agoNew Contributor II
Vary description vy user culture in XFBR
Hello, We are facing the following issue, we use the following xfbr to generate accounts in a cubeview rows and retrieve descriptions : XFBR(CCF_XFBR, GetCCFDrillDownWithDescription2,memberExp=[A#Ca...
- 6 months ago
In your code you can use ReadMemberDescriptionsNoCache function to pull the descriptions based on the user's culture
Dim member As String = "TrialBalance" Dim list As List(Of MemberDescription) = BRApi.Finance.Members.ReadMemberDescriptionsNoCache(si, dimTypeId.Account, member) Dim returnStr As String = list.FirstOrDefault(Function(x) x.MemberDescriptionPk.Language = si.Culture).Description Return returnStr
Manasa
6 months agoNew Contributor III
In your code you can use ReadMemberDescriptionsNoCache function to pull the descriptions based on the user's culture
Dim member As String = "TrialBalance"
Dim list As List(Of MemberDescription) = BRApi.Finance.Members.ReadMemberDescriptionsNoCache(si, dimTypeId.Account, member)
Dim returnStr As String = list.FirstOrDefault(Function(x) x.MemberDescriptionPk.Language = si.Culture).Description
Return returnStr
- Hatim_Elhaouma6 months agoNew Contributor II
Thanks Manasa, i modified the XFBR and after some trial and error it worked.
Related Content
- 10 months ago
- 3 years ago