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

LOOP and QUIT option

edited Feb 24, 2020 8:32AM in Planning 14 comments

Summary

Loop command and trouble to quit it

Content

Hi

I'm trying to compute some DIO account. I'm using a LOOP ENDLOOP command in a calc manager rule.
A summary of the code is attached.

My issue is when I run the rule over only 1 entity ({V_Entity}) the computation is fine.
However, if I run it with at least 2 entities, then the LOOP command break for the all entities with the same loop_counter. Which is a problem if I need to look for more months in the past.

It's as if the variable Quit is computed for the first entity and then passed to the remaining ones.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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