In this last step, we will verify the proper functioning of the tax calculation rule by running the associated function in simulation mode and checking the calculated result.
Activate the Tax Calculator
function if it is still inactive.
Note
Simulating a function is only possible if the function to be run in simulation mode is active.
In the Object Manager
panel, choose Start Simulation
.
In the Simulation
dialog box that appears, enter 35000 in the Gross Salary
field and EUR in the Currency
field.
Under Simulation Mode
section, choose Show only Result
and choose Run Simulation
.
The amount to be paid as tax for the gross salary appears under the Result
section.
For a gross salary of 35000 Euros, the business rule calculates a tax amount of 4500 Euros.