getEvaluatedMembers for LAncestors in Shared Hierarchies — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood: Oracle Cloud SCM and Purchasing

getEvaluatedMembers for LAncestors in Shared Hierarchies

Summary:

We have a need to be able to grab ancestors from a specific level in a shared hierarchy in a dynamic fashion based on an RTP value. When using the Ancestors on a member within Groovy getEvaluatedMembers, only the base hierarchy ancestors are returned. Is there a way to point Groovy to run this function on a specific shared hierarchy?

Additionally, is there an LAncestors equivalent for getEvaluatedMembers? Only "Ancestors" is working off the base hierarchy, but we'd prefer to be able to reference a specific level of ancestor within the shared hierarchy as well.

I have included code below that works for the base hierarchy. Thank you in advance for any help that you can provide!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!