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

CahSin's avatar
CahSin
New Contributor
11 months ago

Entity Parent Business Rules not working

I using UD8 to call master data of entity. Other master data is work, but there is issue when I call entity parent. Seem like the business rules is not working. Not sure where the missing part.

If api.View.IsAnnotationType() Then
   
' Dim EntityID As Integer = api.Pov.Entity.MemberId
 
' 'Return the Account name setting for this text-based View member
'' Return api.Entity.GetLocalCurrency(EntityID).Name
' 'Dim ParentId As Integer = api.Pov.Parent.MemberId
'' return api.Entity.par
''Return api.Pov.Parent.MemberId.ToString
'Dim objList As = BRApi.Finance.Members.GetParents(si, dimPk, entity, includeRootMemberInResult, dimDisplayOptions)
'Dim oblist2 = BRApi.Finance.Members.GetParents()
'Dim ParentId As Integer = api.Pov.Parent.MemberId
' Dim ParentName As String = api.Members.GetMemberName(DimType.Entity.Id,ParentId)
'Return ParentName
'Else
 
'    'Return a NoData Datacell
'    Return api.Data.CreateDataCellObject(0.0,True, False)
End If
No RepliesBe the first to reply