Book

My profile

More

Theme

Manage lessons

AHV number and Youth and Sport export

Ask for the AHV number, export participants, activities and attendance for the BDNS

To receive Youth and Sport (J+S) subsidies, the club declares its courses in the national sports database (BDNS): the participants, the activities (lessons) and the attendance. Plugin.ch prepares the three files; there is no direct link with the BDNS: you download the files and then import them yourself.

The only data the BDNS requires for a new participant is their AHV number: ask for it at registration.

1Ask for the AHV number at registration

For a new course whose maximum age is 20 or less, Plugin.ch automatically adds the question AHV number to the form: you can remove it before saving.

In the course record, section Customised question, add a question of type Free text field whose name contains « AVS », for example « N° AVS ». Plugin.ch then recognises it everywhere:

  • the field enforces the format 756.xxxx.xxxx.xx;
  • a number that is filled in but wrong (format or check digit) is refused, online as well as in the panels Sign up a player and Modify registration ;
  • the field is prefilled with the number already known, if the person's record has a field whose name contains « AVS ».

The question is not mandatory: a family can leave it empty. The J+S export will then show you who is missing.

The date of birth is mandatory to register online: it is asked for before the courses are offered if it is missing from the record.

2Export the participants

In Manage registrations, choose the lesson and click J+S export (above the list of registered people). A window first opens with the student check:

  • the number of people and files;
  • the list of incomplete students, with what is missing: AHV number missing, AHV number invalid, date of birth, sex, nationality, postcode, town or country; as a warning, an assumed CH nationality or a mother tongue to check.

Complete the records concerned, then click Download (French) or Download (German), depending on the language of your BDNS. The CSV file is in the official import format; above 200 people, you receive a ZIP archive with one file per batch of 200.

  • the AHV number is taken from the answer to the course question, otherwise from the AVS field of the person's record;
  • on download, a valid AHV number is copied into the person's record: it will be prefilled the following year.

3Import into the BDNS

In the BDNS, open the course, then Participants › Import, and choose the file (one import per file). A person who is new to your organisation and has no AHV number is refused by the BDNS; with a valid AHV number, the BDNS takes their nationality from the register.

4Activities and attendance

The two other buttons produce the lesson files:

  • BDNS activités: the group lessons (date, start time, duration, place);
  • BDNS présences: for each lesson, the coaches (the lesson's coach, including a replacement, and the group's coach 2) and the participants present.

These files only contain the lessons of groups confirmed in the bookings, and the attendance is what is ticked in the Presence panel. All lessons are exported, whether the roll call has been confirmed (« Roll call done ») or not: a student who was never unticked counts as present. Ask the coaches to take the roll call at every lesson (see What the coach does).

A deleted lesson (rain, cancellation) disappears from the activities and the attendance. A lesson made up with Add lessons is included.

5Before exporting: the checklist

  • the groups are confirmed in the bookings;
  • every student has a valid AHV number, a date of birth, a sex and a full address;
  • the coaches have taken the roll call; replacements have been entered in Manage coaches' times ;
  • Invoice control does not report any student Placed, missing from lessons (they would be missing from the attendance).

Plugin.ch tutorial — Manage lessons

Was this article helpful?

In the same folder

Didn't find your answer?

Sign in to your account to ask your question: it is sent directly to our support team, who will reply by email.

Sign in to ask a question