The wording of a payslip line #
You can change the wording that an employee sees on a payslip line, for example to show the hours and rate: "Per piece: 10 Hours @ 15.00". This text is also called the description of the line. You set it in the Display as input of the Pay Item. In Display as, a name in curly brackets shows the value of that input. For example, {Hours} shows the hours, and {Base} shows the rate. Text outside the brackets shows as you type it.
You can set Display as in three places:
| Where | Applies to |
|---|---|
| The Pay Definition | Pay Items created after the change |
| The Pay Item editor | One employee |
| A data feed | All the employees in your spreadsheet, with one upload |
A change on the Pay Definition does not change the Pay Items that employees already have. paiyroll® copies the value only once, when it creates the Pay Item. To change existing Pay Items, use the Pay Item editor or a data feed.
In a data feed, curly brackets have a different meaning. {Rate}, with one bracket on each side, takes the value from the column Rate of your spreadsheet. So, to put {Hours} on the payslip line, you type {{Hours}}, with two brackets on each side.
Set it on the Pay Definition #
- Click Setup > Pay Definitions.
- Find the Pay Definition, for example Per piece.
- Click Update.
- Click Inputs.
- Find the input Display as, and in its Value, enter the text, for example: Per piece: {Hours} Hours @ {Base}
- Click Update.
Set it for one employee #
- Click Pay Item editor, then select the employee.
- In the Pay Item, for example Per piece, find Display as. If you cannot see it, click more.
- Enter the text, for example: Per piece: {Hours} Hours @ {Base}
- Click Update.
Set it for many employees with a data feed #
Do these steps on the data feed that uploads your Pay Item spreadsheet. It is made from the template Upload pay item Columns from CSV.
Add the line to the Columns #
- Click Data feeds, then click the name of the data feed.
- Select Dry run.
- Under Columns, click Edit as JSON.
- Find the lines of the Pay Item, for example: "Per piece.Hours": "{Hours}",
- Under them, add this line: "Per piece.Display as": "Per piece: {{Hours}} Hours @ {{Base}}"
- Make sure that each line ends with a comma, except the last line.
- Click Update.
Test, then upload #
- Click Data feeds, then click Upload… for the data feed, and upload your spreadsheet.
- Click View, and check the result for errors.
- If there are no errors, click the name of the data feed, clear Dry run, and click Update.
- Click Upload… for the data feed, and upload your spreadsheet again.
For example, the Columns can then be:
{
"Works id": "{WorkerId}",
"Worker name": "{WorkerName}",
"Per piece.Base": "{Rate}",
"Per piece.Hours": "{Hours}",
"Per piece.Display as": "Per piece: {{Hours}} Hours @ {{Base}}"
}
The upload sets Display as for the employees who already have the Pay Item, and for the employees who get it in this upload.