on 2020 Feb 10 3:33 PM
Hi,
We've have 4 set of business rules. One of the business rule(A2000_2) is depedent on another business rule(A2000). To get the key figures calculated for the accounts in A2000_2, users had to execute the logic script twice.
To avoid executing the logic scripts multiple times, is there a way to specify the sequence of the business rules execution in the script logic? or loop the logic script to run twice. Below the logic script we are using.
*FOR %CAT% = %CATEGORY_SET%
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CAT%
CURRENCY = LC
TID_RA = %TIME_SET%
CALC = A1000,A2000,A2000_2,A3000
OTHER = [ENTITY = %ENTITY_SET%]
*ENDRUN_PROGRAM
*NEXT
Thank you
Request clarification before answering.
Something like:
*FOR %CAT% = %CATEGORY_SET%
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CAT%
CURRENCY = LC
TID_RA = %TIME_SET%
CALC = A1000,A2000
OTHER = [ENTITY = %ENTITY_SET%]
*ENDRUN_PROGRAM
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %CAT%
CURRENCY = LC
TID_RA = %TIME_SET%
CALC = A2000_2,A3000
OTHER = [ENTITY = %ENTITY_SET%]
*ENDRUN_PROGRAM
*NEXT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.