Limit Scope in Feeder?
Posted: Thu Nov 05, 2009 6:44 pm
I'd like to only have feeders statements apply to specific versions as determined by an attribute lookup.
In the Rule area, I do this with something like:
# Skip All Other Non-Budget Versions… Version references after this point will only relate to budget versions
[ ] = N: IF ( db ( 'ControlCube' , !Version, 'Dynamic' ) @= '' , STET, Continue ) ;
But I can't figure out an equilvalent scope limitation for the Feeder area. STET and Continue are not valid in feeder blocks, correct? I know that you can effectively do a STET in a feeder by using a db('',...) for a cube name, but then I believe TM1 expects to perform an actual feeder for the other "IF" condition. As it's a match all on the left side, I believe this would effectively negate processing any further feeders?
[edit: upon further reflection, i guess I could have an If attribute check on the right side of every feeder line.]
Thanks in advance,
-- John
In the Rule area, I do this with something like:
# Skip All Other Non-Budget Versions… Version references after this point will only relate to budget versions
[ ] = N: IF ( db ( 'ControlCube' , !Version, 'Dynamic' ) @= '' , STET, Continue ) ;
But I can't figure out an equilvalent scope limitation for the Feeder area. STET and Continue are not valid in feeder blocks, correct? I know that you can effectively do a STET in a feeder by using a db('',...) for a cube name, but then I believe TM1 expects to perform an actual feeder for the other "IF" condition. As it's a match all on the left side, I believe this would effectively negate processing any further feeders?
[edit: upon further reflection, i guess I could have an If attribute check on the right side of every feeder line.]
Thanks in advance,
-- John