Name a place in a template

Hello, i want to give a name to a place in my report , so i can use this one in another report.

this is the code from my report "beroepskosten)
{% for cost_category in cost_categories %}{% assign $11 = 0 %}{% assign $13 = 0 %}{% assign $14 = 0 %}{% assign category_key = cost_keys[forloop.index0] %}
| {{ cost_category }} {% input custom[category_key].accounts as:account_collection range:6,7 accounts_var:costs %} |
|-----------40%---------------|---------------15%-----------:|---------------30%-----------:|---------------15%-----------:+{% for account in costs %}
|{{ account.name }}|{%=$11+ -1account.value %}|{% input custom[account.number].beperking as:percentage %}{% if custom[account.number].beperking == blank %}{% assign beperking = 1 %}{% else %}{% assign beperking = 1-custom[account.number].beperking %}{% endif %}{% $13+ -1beperkingaccount.value %}|{%=$14+ -1beperking*account.value %}{% if forloop.last %}
| | {% =$21+ $11 | currency %} | {% =$23+ $11-$13 | currency %} | {% =$1+ $14 | currency %}{% result category_key $14 %}
|{% endif %}{% endfor %}{% endfor %}


|-----------40%--------------:|---------------15%-----------:|---------------30%-----------:|---------------15%-----------:+
| {% t “Totaal” %} | {{ $21 | currency }} | {{ $23 | currency }} | {{ $1 | currency }}

and i want to give a name to $23, so i can use this value in another template, using “reconciliations.beroepskosten.results…”

Hi @Joyce_Olivier

This is explained in this post:

Kind regards
Sam

it doesn’t seem to work for me:

i put this line in my template “beroepskosten”: {{ $23 | currency }}{% result ‘verworpen’ $23 %}

and in my “toelichting kostenvergelijking” i placed this text in the formula : (period.reconciliations.beroepskosten.results.verworpen)*-1

what do i do wrong?

Hi Joyce,

If you make use of the Silverfin template, it does not work because the handle you use is incorrect. The handle is not always equal to the name of the template. The handle of the Silverfin template ‘Beroepskosten’ is ‘expenses’.

Regards,

Michiel