NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
The ObjTextCalculation module provides a text processing object that interfaces with the ObjServiceCalculation service. It is used to trigger complex calculations from within the Axion text processing engine.
This module acts as a bridge between the text processing layer and the calculation service. It takes a group name as input, which corresponds to a defined set of calculation rules, and initiates the computation process. The result of the calculation is handled by the service itself, and this module does not return a direct value.
The Process method accepts the following parameters:
| Parameter | Description | Type |
|---|---|---|
Param1 |
The name of the calculation group to be processed. | String |
Param2 |
Not used. | - |
Param3 |
Not used. | - |
Param4 |
Not used. | - |
Param5 |
Not used. | - |
Param6 |
Not used. | - |
Param7 |
Not used. | - |
Param8 |
Not used. | - |
To trigger a calculation for a group named "SalesCommission", you can use the following syntax within a text field processed by the engine:
{calculation:SalesCommission}
This will invoke the Compute method of the ObjServiceCalculation service for the specified group.
cythonize -3 -a -i ObjTextCalculation.py
Compiling /home/axion/projects/axion/factory.text/package.core/ObjTextCalculation.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.text/package.core/ObjTextCalculation.py
Updated : 2025-09-10