Newer Version Available

This content describes an older version of this product. View Latest

ProductItemTransaction

Represents an action taken on a product item in field service. Product item transactions are auto-generated records that help you track when a product item is replenished, consumed, or adjusted.

Supported Calls

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

Special Access Rules

Field Service Lightning must be enabled.

Fields

Field Name Details
Description
Type
textarea
Properties
Create, Nillable, Update
Description
A description of the transaction. The description is blank when the transaction record is created, but can be updated.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
ProductItemId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The associated product item.
ProductItemTransactionNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
(Read Only) Auto-generated number identifying the product item transaction.
Quantity
Type
double
Properties
Create, Filter, Sort
Description
The quantity of the product item involved in the transaction. If inventory was consumed, the quantity is negative.
RelatedRecordId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
(Read Only) The product consumed or product transfer related to the action. If the action wasn’t related to consumption or transfer, the related record is blank.
TransactionType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort
Description
The action that the transaction tracks.
  • Replenished: When a part is stocked at a location. A Replenished transaction is created when a product item is created.
  • Consumed: When parts are consumed to complete a work order. A Consumed transaction is created when a record is added to the Products Consumed related list on a work order or work order line item.
  • Adjusted: When there is a discrepancy or a change in consumption. An Adjusted transaction is created when a product item’s Quantity on Hand is edited, a product consumed is updated or delete, or a product transfer is deleted.
  • Transferred: When parts are transferred between locations.