ProductItem

Represents the stock of a particular product at a particular location in field service, such as all bolts stored in your main warehouse.

Introduced in API version 39.0.

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

  • Field Service must be enabled.
  • Type: boolean

  • Properties: Defaulted on create, Filter, Group, Sort

  • Introduced: API version 50.0

  • Default value: false

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Location associated with the product item. This usually indicates where the product item is stored.

    This is a relationship field.

  • Relationship name: Location

  • Relationship type: relationship

  • Refers to: Location

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description:

    Product associated with the product item, which represents the type of product in your inventory.

    This is a relationship field.

  • Relationship name: Product2

  • Relationship type: relationship

  • Refers to: Product2

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: (Read Only) Auto-generated number identifying the product item.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: A name for the product item. Try to select a name that indicates what is being stored where; for example, Batteries in Warehouse A.
  • Type: double
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 65.0
  • Type: double
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 65.0
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 65.0
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 65.0
  • Type: double
  • Properties: Create, Filter, Sort, Update
  • Description: The quantity at the location. If you want to add a serial number, this value must be 1.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 67.0
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Introduced: API version 65.0
  • Type: double
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 67.0
  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Units of the product item; for example, kilograms or liters. Quantity Unit of Measure picklist values are inherited from the Quantity Unit of Measure field on products.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: A unique number for identification purposes. If you want to enter a serial number, the Quantity on Hand must be 1.

Each product item is associated with a product and a location in Salesforce. If a product is stored at multiple locations, the product will be tracked in a different product item for each location.

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.