What is the correct API Type to use in an Extensibility Rule to call Members.GetBaseMembers()?

RobbSalzmann
Valued Contributor

An api is passed in, but typed as Object, what is object type of the correct/most efficient API to use in an Extensibility Rule to call Members.GetBaseMembers()?

1 ACCEPTED SOLUTION

if the api object is typeless ("Object") in that particular context, it means it's empty and there is nothing to use there. Not all engines actually provide a useful "api" object. In those cases, BRApi is the only way to go.

View solution in original post

3 REPLIES 3

NicolasArgente
Valued Contributor

Hey Robb!
Try that : 
BRApi.Finance.Members.GetBaseMembers(si, DimensionDimPk, YourTopMemberId, Nothing )
Give a Thumbs Up if it helps 🙂
And Happy easter to all!
Nic

Connect with me on:
LinkedIn: https://www.linkedin.com/in/nicolas-argente/
Website: https://aiqos.io
If you want to lift yourself up, lift up someone else.

Thank you for the feedback @NicolasArgente .  My understanding is that the BRApi is used when cross-engine is the only way to achieve something that the current engine's API cannot.  

Does this mean that 'api' passed in cannot 'GetBaseMembers'?  

I'm seeking peak efficiency here.

 

if the api object is typeless ("Object") in that particular context, it means it's empty and there is nothing to use there. Not all engines actually provide a useful "api" object. In those cases, BRApi is the only way to go.