---
schema_version: "1"
id: 37b05181c5678f807640a465165d30c0979d11a108da1f875862606e1080afb8
title: SerializedProductTransaction
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_serializedproducttransaction.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_serializedproducttransaction.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 92fbbb09109432a860db162f6b4b19fb837ceed117d991320b27fc8371d921d5
description: Represents a change in the state of a serialized product. This object is available in API version 60.0 and later.
---
# SerializedProductTransaction

Represents a change in the state of a serialized product. This object is available in API version 60.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search()

## Fields

### 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.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the serialized product transaction.

### RelatedRecordId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The product consumed or the product transfer record associated with the serialized product transaction.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: RelatedRecord
- **Relationship Type**: Lookup
- **Refers To**: ProductConsumed, ProductTransfer

### SerializedProductId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: The serialized product associated with the serialized product transaction.
    
    This field is a relationship field.
- **Relationship Name**: SerializedProduct
- **Relationship Type**: Lookup
- **Refers To**: SerializedProduct

### TransactionType

- **Type**: picklist
- **Properties**: Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: The type of the transaction.
- **Possible values**:
    - Adjusted
    - Consumed
    - Damaged
    - Found
    - Lost
    - Received
    - Repaired
    - Replenished
    - Sent
    - Withdrawn