# Using rollforward over different templates

**URL:** <https://community.silverfin.com/t/using-rollforward-over-different-templates/1997>\
**Category:** Templates\
**Created:** [January 13, 2021, 1:13pm UTC](https://community.silverfin.com/t/using-rollforward-over-different-templates/1997 "2021-01-13T13:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronald\_groot\_RSF](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/ronald_groot_rsf/32/1019_2.png) [@ronald\_groot\_RSF](https://community.silverfin.com/u/ronald_groot_RSF)\
**Post date:** [January 13, 2021, 1:13pm UTC](https://community.silverfin.com/t/using-rollforward-over-different-templates/1997/1 "2021-01-13T13:13:41Z")

</div>

Hi all,

I want to use rollforward to push information from our Monthly Closing template to a template in our Annual reporting program. For example:  
In the monthly template we have certain values on a company level:

```auto
{% input company.custom.the_enterprise.structure placeholder:fill_in as:text %}

```

This info is subject to change in our monthly program and can mustbe changed historically, which is why we use a company value instead of a rollforward here.

However, when we come to the Annual review we want to make a snapshop of this info, so we can no longer use the company field, bust want to use a rollforward. How should I fix this within the liquid code?

---

<div class="post-metadata">

**Author:** ![borjaGonzalez](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/borjagonzalez/32/825_2.png) [@borjaGonzalez](https://community.silverfin.com/u/borjaGonzalez)\
**Post date:** [January 13, 2021, 2:52pm UTC](https://community.silverfin.com/t/using-rollforward-over-different-templates/1997/2 "2021-01-13T14:52:35Z")

</div>

Hi Ronald,

You can do the following:

- Let’s say your variable in Template A (Origin template) it’s called `custom.some.variable`

- Then you go to Template B (Target template) and write the following code:

```auto
{% rollforward period.reconciliations.template_a_handle.custom.some.variable custom.current.value %}

{% input custom.current.value %}

```

You just have to copy details in Template B from the desired period and then the value should populate in the input `custom.current.value`

I hope that’s clear.

Best,  
Borja
