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.

Introduced in API version 39.0.

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

    • Field Service must be enabled.
    • Only users with Modify All Data or Modify All Records permissions can delete this object.
  • 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.
  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    The associated product item.

    This is a relationship field.

  • Relationship name: ProductItem

  • Relationship type: masterdetail

  • Refers to: ProductItem

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: (Read Only) Auto-generated number identifying the product item transaction.
  • 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.
  • 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.

    This is a polymorphic relationship field.

  • Relationship name: RelatedRecord

  • Relationship type: polymorphic

  • Refers to: ProductConsumed, ProductTransfer, Visit

  • 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’s 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.

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.