sven
September 19, 2018, 7:18am
1
As explained here, you can take amounts into a result tag to display somewhere else:
If you want to reference a certain value or variable from recon template A in another template, there’s a way to do it with the so-called result tags in STL.
They work like this ( just type in result and press TAB to get this preformatted code ):
{% result 'name' content %}
where the name is a shortname you can choose, and the content is the value or variable you want to reference to.
Let’s say we have this variable done_prepayments in our recon template Prepayments (which is al…
Let’s say we have a template with a handle “stocks” and there’s a value taken into a result tag called “stock_value”.
How can we display this result tag in a report template?
This is the way:
Add a formula box to the report
As formula you’ll link to the result tag
So that’s reconciliations.stocks.results.stock_value without the period in the formula!
Hi,
Is it also possible to Link data from one Report to an other report?
I only found out how to link fiels from a report template to a text or a reconciliation template.
for exapmle:
I want to link the value of a field with the tag DIRPRODU from report “MAPPING OVB” with handle MAPPINGRAP to an other report.
Hi Alexander
did you manage to try the workaround? Is everything clear?
Kind regards
Sofie
Hi Sofie,
I’ve managed to get my result from one report to another as follows:
Report 1:
handle: MAPPINGRAP
Tag: BEDRLEID
Reconciliation template: (workaround)
handle: MAPPINGBDRTEMPLATE
BEDRLEID Kosten m.b.t. bedrijfsleiding {{ period.reports.MAPPINGRAP.results.BEDRLEID }}
{% $1+ period.reports.MAPPINGRAP.results.BEDRLEID %}
{% result 'BEDRLEIDRESULT' $1 as:currency %}
Report 2:
formule: reconciliations.MAPPINGBDRTEMPLATE.results.BEDRLEIDRESULT
maybe I can make the workaround shorter?
Hi Alexander
you can slightly shorten your code like this:
BEDRLEID Kosten m.b.t. bedrijfsleiding
{% assign result_formule = period.reports.MAPPINGRAP.results.BEDRLEID %}
{% result 'BEDRLEIDRESULT' result_formule as:currency %}
Normally, this should work.
Kind regards
Sofie