Forum Discussion

Hatim_Elhaouma's avatar
Hatim_Elhaouma
New Contributor II
1 month ago
Solved

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...
  • Manasa's avatar
    1 month 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