11-04-2022
11:40 AM
- last edited on
07-20-2023
10:35 AM
by
JackLacava
Have you ever wondered how the Calculate if No Data setting works? (I did, and Keith Berry helped me out)
“Calculate if No Data = False” prevents the execution of rules on “OK,NA” (no data) entity. However, the Calc Status gets changed from “OK,NA” to “OK”, and it impacts the parent (“CN”).
The “False” option is to avoid populating unused entities with rules.
|
Calculate on “OK,NA” |
Force Calculate on “OK,NA” |
Calculate if No Data = True |
No rule execution |
Rule is run
|
Calculate if No Data = False |
No rule execution |
No rule execution |
11-07-2022 07:53 AM
Thanks Peter!
07-12-2024 08:26 AM - edited 07-12-2024 08:30 AM
From the "Designing an Application" course:
This seems to say that running a regular Calculate on a OK,NA Data Unit, with Calculate if no data = True (i.e. top left square in the table above), will execute the rules for the data unit.
The top left square above says it will not execute the rules in this case, and you have to Force Calculate (top right square) for the rules to run.
Which one is true, or what am I missing?
07-30-2024 08:08 AM
I think they are both true but the Designing an application is not talking about the difference between a force calculate and regular. As Peter shows in his table, the "regular" calculate simply never executes on an "OK,NA" status. Whereas the force will check this setting and either run the rules or not, but regardless will change the status to "OK".