Newer Version Available

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

InventoryItemReservation

Used to store inventory item reservation information for a specific product and location. This object is available in API version 60.0 and later.

Supported Calls

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

Special Access Rules

This object is available only if a B2B Commerce, D2C Commerce, B2C Commerce or Salesforce Order Management license is enabled.

Fields

Field Details
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Available only for orgs with the multicurrency feature enabled. ISO code for the currency of the inventory items.
Possible values are:
  • EUR—Euro
  • USD—U.S. Dollar
The default value is USD.
ErrorCode
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The error code if the reservation isn’t successful.
ErrorMessage
Type
textarea
Properties
Create, Nillable, Update
Description
If an error occurred, this field contains the error message.
InventoryItemReservationName
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of the inventory item reservation (autogenerated, for example: PIR-0033).
InventoryReservationId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the inventory reservation.
This field is a relationship field.
Relationship Name
InventoryReservation
Relationship Type
Lookup
Refers To
InventoryReservation
ItemReservationSourceId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the entity associated with the inventory item reservation.
This field is a relationship field.
Relationship Name
ItemReservationSource
Relationship Type
Lookup
Refers To
CartItem
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, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.
ProductId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
The ID of the product on the inventory item reservation. This field is unique within your organization.
This field is a relationship field.
Relationship Name
Product
Relationship Type
Lookup
Refers To
Product2
Quantity
Type
double
Properties
Create, Filter, Sort, Update
Description
Number of products on the inventory item reservation.
ReservedAtLocationId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The location or location group where the inventory item reservation originated.
This field is a polymorphic relationship field.
Relationship Name
ReservedAtLocation
Relationship Type
Lookup
Refers To
Location, LocationGroup
StockKeepingUnit
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
The stock keeping unit (SKU) of the reserved item.