With the Personnel Document Generator, you can automatically fill a Word template with the details of one or more employees.
The document generator replaces the placeholders in the Word file with the data registered for the employee in Agromanager.
! Requirement
Before you can apply these steps, you must first create employees in Agromanager.
- Click here for the steps to follow
Ensure that the employee details are filled in as completely as possible.
Make sure your Word file contains the correct placeholders.
Step 1 - Add placeholders to the Word file
Place a placeholder in the Word document at every location where data should be filled in automatically.
When generating the document, Agromanager replaces each placeholder with the corresponding company or employee data.
General placeholders
| Placeholder | Meaning |
|---|---|
| %date% | Date |
Company data
Use the placeholders below for your company details.
| Placeholder | Meaning |
|---|---|
| %company.companyname% | Company name |
| %company.addressline1% | Address line 1 |
| %company.addressline2% | Address line 2 |
| %company.zipcode% | Postcode |
| %company.city% | City |
| %company.country% | Country |
Employee data
Use the placeholders below for data of the selected employee.
| Placeholder | Meaning |
|---|---|
| %person.id% | Agromanager ID |
| %person.firstname% | First name |
| %person.lastname% | Last name |
| %person.dateofbirth% | Date of birth |
| %person.placeofbirth% | Place of birth |
| %person.gender% | Gender |
| %person.nationality% | Nationality |
| %person.contracttype% | Contract type |
| %person.addressline1% | Address line 1 |
| %person.addressline2% | Address line 2 |
| %person.zipcode% | Postcode |
| %person.city% | City |
| %person.country% | Country |
| %person.email% | Email address |
| %person.phone% | Telephone number |
| %person.accountholder% | Account holder |
| %person.iban% | Account number (IBAN) |
| %person.bic% | BIC |
| %person.Bedrijfsvoorheffing% | Withholding tax |
| %person.civilstate% | Civil status |
| %person.rsz% | INSZ/BSN number |
| %person.fin% | FIN number |
| %person.badgenumber% | Badge ID |
| %person.verblijfplaats% | Place of residence |
| %person.comments% | Comments |
| %person.passportexpiration% | Passport expiry date |
| %person.satisfactionscore% | Satisfaction score |
| %person.languages% | Languages |
| %person.ehbonumber% | First aid number |
| %person.ehboexpiration% | First aid expiry date |
| %person.drivinglicense% | Driving licence number |
| %person.drivinglicenseexpiration% | Driving licence expiry date |
| %person.forkliftlicense% | Forklift licence number |
| %person.forkliftexpiration% | Forklift licence expiry date |
| %person.kwaliteitskeurcertificatenumber% | Quality certificate number |
| %person.kwaliteitskeurexpiration% | Quality certificate expiry date |
Example
Copy the desired placeholders and place them in the correct location in the Word document.
First name: %person.firstname% Last name: %person.lastname% Date of birth: %person.dateofbirth%
Save the Word file once all placeholders are in the correct locations. The file can now be used as a template in the document generator.
! Note
Copy the placeholders exactly as they appear in the tables. Any altered spelling, capitalisation, or missing percentage signs may cause the placeholder not to be replaced.
Step 2 - Open the Personnel Document Generator
On the dashboard, open the Time registration tile.
Click on Reports on the left side of your screen.
In the reports overview, click on "Personnel: Document generator".
Step 3 - Select the employees
Tick the employees for whom you want to generate the document.
Step 4 - Add the Word template
Select the date to be used in the document. By default, today's date is entered.
Then click on Select file next to the file and select the Word file from your computer in which you have added the placeholders.
Step 5 - Generate the document
Check the selected employees, date, and the added Word file.
Then click on Generate.
Agromanager will automatically fill the placeholders with the available data of the selected employees.
Missing data
If a particular piece of data is not filled in for the employee, the corresponding placeholder cannot be completed with that information either. Therefore, check the employee file beforehand.