[ Reports ]

Charging Rules Reports #

The Gliding and Power Charging Rules Report summarize the charging rules for the associated transaction types. These reports make it easier to read the rule sets and to mark up changes than directly displaying the rules in the Charging Rules window as on screen only one rule can be seen at a time.

The report consists of a series of "stanzas", groups of lines separated by a blank line, one per rule. The rules are printed in the order in which they are processed during a rule-set application operation. Consequently, all of the rules for a particular field appear together.

If there's a computed field which has been defined in the rule set but has not associated rules (so it will always be undefined in actual transactions) then this is listed on a separate line with the text has no defined rules.

The first line for each rule contains the name of the field which the rule computes, the rule's title and the text Override if the rule is an override rule.

If the rule is conditional then the second line starts with if and it and any following further indented lines contain the condition part of the rule in the form of a simple logical expression.

The final line contains the consequence part of the rule (prefixed by then if the rule is conditional).

In both the condition and consequence parts, values are shown prefixed by their data types. Symbols are shown by their display name (unless something has gone wrong and the symbol is not defined). The only exception to this is where the test part of a condition is Has Property where the property symbol is shown directly, because its type is obvious from the context.