When a process in the system needs to perform a calculation, it invokes the Calculation Control processor, passing the appropriate version of the calculation control. This process invokes the Calculation Group processor which is responsible for executing the calculation rules.
At a high level, the Calculation Group processor follows these steps for each calculation rule in sequence for the calculation group
Fetch each of the rule’s Eligibility Criteria and execute its Apply Criteria algorithm
Check the returned action value,
If the action is Terminate or Error, terminate overall processing
If the action is Check Next Condition, continue on to the next set of criteria
If the action is Do Not Apply Rule, continue on to the next calculation rule
If the action is Apply Rule, execute the Apply Calculation Rule algorithm for the rule
After applying a calculation rule, check the rule action flag. If the action is Terminate , terminate overall processing
When errors occur in processing, it is usually necessary to retain the interim calculation details in order to diagnose the problem . The calculation group processor handles errors in two ways:
Calculation rules and eligibility criteria have the option of recording an exception in the calculation processor data error instead of issuing standard errors.
Errors issued by lower level logic are trapped by the Calculation Control processor and converted to an exception message in the output data.
In both circumstances, higher level logic is responsible for detecting and reporting calculation exceptions as appropriate.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]