Skip to Content
0
Jul 22, 2019 at 11:52 AM

OM Evaluation path showing B012 (OR) B003 relationship

211 Views

Hello,

I would like to create an evaluation path which looks something like this:

O B 012 S

O B 003 S

In other words when RH_STRUC_GET is run for an Org Unit then the Position for these 2 relationships is returned. What I would like to do, however, is say if there is a B 012 relationship then just return this position number and not the B 003 Position number.

The reason for this is that in our system sometimes an Org Unit has no B 003 and only a B 012 so I want to test both relationships. In these cases with the evaluation path as above I would then get the B 012 back which is great. But if there is a B 003 it is always the same position number anyway as the B 012 and therefore if both relationships exist I only want to return the one.

Hope that makes sense!?