# PayrollComponentResultsByPayrollAdministrationIdAndPayrollComponent
Get the results of the given payroll period and the one before
__Activity name :__ GetPayrollComponentResultsByPayrollAdministrationIdAndPayrollComponent
Returns the results of a specific payrollcomponent for a range of payroll periods so a comparison can be made.
This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API.
- Catalog: `LoketNlRest`
- Schema: `PayrollResults`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `payrollAdministrationId` | `guid` | ☑ | | The unique identifier of an administration |
| `payrollPeriodIdEnd` | `int32` | ☑ | | The unique identifier of the payroll period |
| `payrollPeriodIdStart` | `int32` | ☑ | | The unique identifier of the payroll period |
## Columns
The columns of the table `PayrollComponentResultsByPayrollAdministrationIdAndPayrollComponent` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `employmentId` | `guid` | Employment ID | ☐ | The unique identifier of an object (GUID/UUID) |