Operation: ValidateFormulaV202405
Check that a Calculated Channel formula is valid, in the context of the given datapoint.
It is valid if the following are all true:
It is syntactically correct
It only calls allowed functions (including the custom function channel()”)
Each channel referenced (via channel(channelId)) belongs to this datapoint
and is a simple (not calculated) channel (which also rules out self-references).
Operation: ValidateCalculatedMeterFormulaV202405
Check that a Calculated Meter formula is valid.
It is valid if the following are all true:
It is syntactically correct
It only calls allowed functions (including the custom function channel()”)
Each channel referenced (via channel(channelId)) is the Primary Value Channel
of some other datapoint (which also rules out self-references).