Forum Discussion
ChristianW
Valued Contributor
And this is the code snippet for description, you need to use the WritableMember object:
Dim oDimpk As DimPk = BRApi.Finance.Dim.GetDimPk(si, "Your dimension")
Dim newDescription As String = "Hello World"
Dim oMember As WritableMember = BRApi.Finance.Members.ReadWritableMemberNoCache(si, oDimpk.DimTypeId, "Name of your member")
Dim oMemberToUpdate As MemberInfo = BRApi.Finance.Metadata.GetMember(si, oDimpk.DimTypeId, "Name of your member", True,, New MemberDisplayOptions(True, True, True,True,True, True, True, False))
oMember.Description = newDescription
Dim lstDesc As List(Of MemberDescription) = Nothing
brapi.Finance.MemberAdmin.SaveMemberInfo(si, True, oMember, False, Nothing, False, lstDesc, TriStateBool.FalseValue)
NicolasArgente
2 years agoValued Contributor
Thank you ChristianW ! I will test that this week.
Related Content
- 2 months ago
- 2 years ago
- 6 months ago