---
schema_version: "1"
id: 268c0b932c79f902011518c0816de99de7e5bd737d046314de0f2d5ea9ebec7d
title: DeviceSyncTransactionLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_devicesynctransactionlog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_devicesynctransactionlog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 36da0986434e57f6cd86ca468ea96ce1d707436a9d54bdb84c2ce4914edacbce
description: Represents a log with information about the synchronized data from a mobile device. This object is available in API version 65.0 and later.
---
# DeviceSyncTransactionLog

Represents a log with information about the synchronized data from a mobile device. This object is available in API version 65.0 and later.

![Important](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

### DeviceGenRecordIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the record associated with the log entry.

### DeviceSyncTransactionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required. The device sync transaction associated with the log.
    
    This field is a relationship field.
- **Relationship Name**: DeviceSyncTransaction
- **Relationship Type**: Master-detail
- **Refers To**: DeviceSyncTransaction (the master object)

### ExceptionCode

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The error code if the sync process encountered an error.

### ExceptionLocation

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The device sync transaction record associated with the log entry.

### ExceptionLog

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The raw log data.

### ExceptionType

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of error associated with a log entry.

### FieldName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The field associated with a log entry.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

### LogType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Required. The type of log.
- **Possible values**:
    - Error

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the device sync transaction log record.

### ObjectName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of object associated with the log.

### SyncStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The sync status.
- **Possible values**:
    - Error
    - New
    - Ok
    - Pending

### Value

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The data item associated with the log entry.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[DeviceSyncTransactionLogFeed](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[DeviceSyncTransactionLogHistory](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.