# Change Log Entries

`GET` _(Table: Change Log Entry)_

```
eOne/core/v1.0/changeLogEntries
```

Read-only audit trail from the Business Central change log. Each row is one captured insertion, modification, or deletion of a monitored field; allowing an external system to reconcile *who changed what, when* without polling every record.

## Enable logging first

> **Caution:** This endpoint only **reads** what the change log has already captured. It does not turn logging on. Enable the change sign in Business Central (**Change Log Setup**) for the tables and fields you want to appear here; nothing is recorded for tables you have not opted in.

## Resolve the changed record

Two ways to get from an entry back to the record it describes:

- Use `changedRecordSystemId` (the record's `SystemId` GUID, fetch it directly on the matching endpoint)
- Combine `tableNumber` with the `primaryKeyField1Value`–`3Value` columns, which hold the record's primary-key field values.

## Change Log Entries fields

_API column → BC field._

**Legend**

- _(req)_ required on create
- _(res)_ resolver
- _(cur)_ currency-translated
- _(ro)_ read-only
- _(ext)_ added to this endpoint by another extension (BC field name shown; its API column name is not known here)

| API | BC field | Notes |
| --- | --- | --- |
| `id` | SystemId | BC record GUID. _(ro)_ |
| `bcCompanyId` | bcCompanyId | The company this row belongs to - the same GUID that appears in the request URL. Present on every endpoint so a store pooling several companies can keep them apart without relying on which URL it called. _(ro)_ |
| `bcCompanyName` | bcCompanyName | The name of the company this row belongs to. _(ro)_ |
| `entryNumber` | Entry No. | Sequential change log entry number. _(ro)_ |
| `dateAndTime` | Date and Time | When the change was recorded. _(ro)_ |
| `userId` | User ID | User who made the change. _(ro)_ |
| `userFullName` | userFullName | Display name of the user who made the change, resolved from the User table; blank if the user no longer exists. _(ro)_ |
| `tableNumber` | Table No. | ID of the table that was changed. _(ro)_ |
| `tableCaption` | Table Caption | Display name of the changed table. _(ro)_ |
| `fieldNumber` | Field No. | ID of the field that was changed. _(ro)_ |
| `fieldCaption` | Field Caption | Display name of the changed field. _(ro)_ |
| `typeOfChange` | Type of Change | Insertion, Modification, or Deletion. _(ro)_ |
| `oldValue` | Old Value | Field value before the change. _(ro)_ |
| `newValue` | New Value | Field value after the change. _(ro)_ |
| `changedRecordSystemId` | Changed Record SystemId | GUID of the record that was changed; use it to fetch the current record. _(ro)_ |
| `primaryKey` | Primary Key | Full primary key of the changed record. _(ro)_ |
| `primaryKeyField1Number` | Primary Key Field 1 No. | _(ro)_ |
| `primaryKeyField1Caption` | Primary Key Field 1 Caption | _(ro)_ |
| `primaryKeyField1Value` | Primary Key Field 1 Value | Value of key field 1 on the changed record. _(ro)_ |
| `primaryKeyField2Number` | Primary Key Field 2 No. | _(ro)_ |
| `primaryKeyField2Caption` | Primary Key Field 2 Caption | _(ro)_ |
| `primaryKeyField2Value` | Primary Key Field 2 Value | Value of key field 2 on the changed record. _(ro)_ |
| `primaryKeyField3Number` | Primary Key Field 3 No. | _(ro)_ |
| `primaryKeyField3Caption` | Primary Key Field 3 Caption | _(ro)_ |
| `primaryKeyField3Value` | Primary Key Field 3 Value | Value of key field 3 on the changed record. _(ro)_ |
| `lastModifiedDateTime` | SystemModifiedAt | _(ro)_ |
