General company info is deleted

Hi @JelleBe ,

Please keep in mind we have some standards available on how to post your code on the community.

A solution to your problem is to create a custom variable that is using the persistent id of a person as a variable part in the name. The persistent id of a person in the people drop remains the same over time (unlike the person.id which changes over time and therefor might lead to rollforwarding issues).

The advantage of this solution is that each director will have a variable that is uniquely linked to him/her but it will not remove the director from the people collection when the renumeration variable is cleared!

{% for director in period.directors %}
  | {{ director.name }}
  {% capture person_id %}person_{{ director.persistent_id }}{% endcapture %}
  | {% input custom.[person_id].renumeration %}
{% endfor %}

Kind regards,
Michiel