Newer Version Available

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

ProductConsumed

Represents an item from your product inventory that was used to complete a work order or work order line item. This object is available in API version 60.0 and later.

Supported Calls

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

Fields

Field Details
Description
Type
textarea
Properties
Create, Nillable, Update
Description
The description of the product consumed record.
Discount
Type
percent
Properties
Create, Filter, Nillable, Sort, Update
Description
The discount on the product consumed.
IsConsumed
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Specifies that a product consumed has been consumed if the product it refers to is serialized. The default is false.
IsProduct2Serialized
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Specifies if the associated product that was consumed is a serialized product (true) or not (false).
The default value is false.
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 isn’t null, the user accessed this record or list view indirectly.
ListPrice
Type
currency
Properties
Filter, Nillable, Sort
Description
The list price of the product.
PricebookEntryId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The price book associated with the product consumed. If the work order and the product item’s associated product are related to the same price book, the Price Book Entry auto-populates based on the product item.
This field is a relationship field.
Relationship Name
PricebookEntry
Relationship Type
Lookup
Refers To
PricebookEntry
Product2Id
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The product associated with the product consumed.
This field is a relationship field.
Relationship Name
Product2
Relationship Type
Lookup
Refers To
Product2
ProductConsumedNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
An auto-generated number identifying the product consumed.
ProductItemId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
The product item associated with the product consumed.
This field is a relationship field.
Relationship Name
ProductItem
Relationship Type
Lookup
Refers To
ProductItem
ProductName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the product that’s consumed.
QuantityConsumed
Type
double
Properties
Create, Filter, Sort, Update
Description
The quantity of product that’s consumed. When you create a product consumed record, the quantity consumed is subtracted from the product item’s quantity.
QuantityUnitOfMeasure
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The unit of the quantity of the product that’s consumed. For example, kilograms or liters. Quantity Unit of Measure values are inherited from the Quantity Unit of Measure field on products.
Possible values are:
  • Each
TotalPrice
Type
currency
Properties
Filter, Nillable, Sort
Description
The total price paid for the product items.
UnitPrice
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The price per unit of the product consumed.
WorkOrderId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The work order for which the product was consumed.
This field is a relationship field.
Relationship Name
WorkOrder
Relationship Type
Lookup
Refers To
WorkOrder
WorkOrderLineItemId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The work order line item for which the product was consumed.
This field is a relationship field.
Relationship Name
WorkOrderLineItem
Relationship Type
Lookup
Refers To
WorkOrderLineIte