# JournalRunExportAuditTrailByJournalRunId
List export attempts for a journal run
__Activity name :__ GetJournalRunExportAuditTrailByJournalRunId
Returns the export audit trail for a journal run
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: `JournalRun`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `journalrunId` | `guid` | ☑ | | The unique identifier of the payroll run |
## Columns
The columns of the table `JournalRunExportAuditTrailByJournalRunId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `exportedBy_formattedName` | `string` | | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `exportedBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `exportedBy_initials` | `string(6)` | | ☐ | The initials of the user |
| `exportedBy_lastName` | `string(25)` | | ☐ | The last name of the user |
| `exportedBy_prefix` | `string(10)` | | ☐ | The prefix of the user |
| `exportedOn` | `datetime` | | ☐ | The time at which the export was started |
| `exportedTo_key` | `int32` | | ☐ | |
| `exportedTo_value` | `string` | | ☐ | |
| `exportStatus_key` | `int32` | | ☐ | The status of the export (succesfull or failed) |
| `exportStatus_value` | `string` | | ☐ | The value describing the current status of the payroll run. |
| `id` | `guid` | ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `methodOfExporting_key` | `int32` | | ☐ | |
| `methodOfExporting_value` | `string` | | ☐ | |
| `returendErrorMessage` | `string(4000)` | | ☐ | Incase the export (by means of an API) failed the returned errors are provided here. |
| `sequenceNumber` | `int32` | Sequence Number | ☐ | Ascending sequence number over ALL journal runs within a yearfor the payroll administration. |