Is it possible to change the existing template ‘belastingberekening’ by putting some of the calculated results in a ‘result’ tag so these can be used directly in another template (not made by Silverfin)?
I suppose this can be done by assigning period.reconciliations.BELASTINGBEREKENING.results.landbouw_index (for example) to a variable …
Above shows me taking the data from the object custom.belast_begin.onzichtb (which hasn’t gotten a result-tag in our Silverfin-template (yet)), assign it to a new variable (not necessary) and putting it in a result.
The extra code you make in this screen, gets added or overwrites existing code in the standard template of Silverfin.
This should work with input-objects just fine, but not if you want the amount of a register ($). Registers are only saved when going through the code from the top to below, while input objects are saved on “database level” (for a lack of using a better description for this).
{% assign LI = period.reconciliations.belastingberekening.results.belastbaar2 %}
belastbaar = {{LI}}
Now if I assign a real value to belastbaar2 (eg 3), then I get a result (3) in my own template. So the problem must be situated in the ‘belastingberekening’-template …