on 2011 Nov 15 11:16 PM
Hey Experts,
Well, this is a good question. I need to select all child/BAS members of a particular parent account being used for an allocation, but also need to exclude one or more specific members.
Does anyone have an idea how to use XDIM_MEMBERSET, XDIM_FILTER, or SELECT (or anything else) to do this? I've tried all sorts of combinations of those commands, but no luck so far.
For example, you can't do
**XDIM_MEMBERSET ACCOUNT=BAS(XYZ) AND < > ACCOUNT123*
and the are limitations with the other commands.
Thanks in advance for any ideas.
Garrett
Request clarification before answering.
Hi Garret,
Could you create a property in your dimension to flag the members you want to select and then restrict your filter based on ACCOUNT.PROPERTY?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sabine,
Yes, basically that's what I've resorted to doing. However, the reality is that there's a maintenance burden involved with managing a property that's used to select them. Is that really the only option?
thanks,
NOTE: I was trying to get the code to say <.> ACCOUNT123 above, but somehow I can't edit the original question right now.
Sabine,
You know, I've been trying to get the system to do the *RUNALLOCATION block inside of the WHEN/ENDWHEN, and it seems like the allocation block just ignores the fact that it's inside a WHEN.
That is to say, the *RUNALLOCATION is affected by the XDIM scoping, but not affected by being inside a WHEN/ENDWHEN.
That's been a real surprise to see how it behaves that way, but it doesn't really make sense
Thanks,
Hi Garrett,
Do you see if the following is suitable: After the initial scope selection using XDIM as BAS(XXXX)
in When condition you could do something like below:
*WHEN ACCOUNT
*IS <> CA10500, FA10500 // try even using a selection variable here
*REC(........
*ENDWHEN
But if you know the accounts that you want to execute the script, please use the property option
Thanks,
Sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
10 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.