Inventory Operation

Represents operations performed on the inventory, such as transfers, disbursements, or adjustments. This object is available in API version 65.0 and later.

Supported Calls

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

Fields

AdditionalInformation

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Stores additional information about the inventory operation.

Comment

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: The comments for the inventory operation.

DestinationAddressId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The address at which the products are delivered.

    This field is a relationship field.

  • Relationship Name: DestinationAddress
  • Refers To: Address

DestinationLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the destination location associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: DestinationLocation
  • Refers To: Location

IsDuplicate

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the inventory operation is a duplicate (true) or not (false).
  • Default value: false

IsException

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the inventory operation has any exception (true) or not (false).
  • Default value: false

IsSystemCreated

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the inventory operation is created by the system (true) or not (false).
  • Default value: 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.

Name

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the inventory operation record.

OperationType

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Specifies the type of inventory operation.
  • Possible values:
    • Adjustment
    • Disbursement
    • Return
    • Transfer
    • TransferIn—Transfer In
    • TransferOut—Transfer Out

OpportunityId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The opportunity associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: Opportunity
  • Refers To: Opportunity

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The ID of the owner of the inventory operation record.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Refers To: Group, User

ProductRequestId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the product request associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: ProductRequest
  • Refers To: ProductRequest

RelatedOperationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the related operation associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: RelatedOperation
  • Refers To: InventoryOperation

ShipmentStatus

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Specifies the status indicating the condition of the shipment.

SourceLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the source location associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: SourceLocation
  • Refers To: Location

VisitId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the visit associated with the inventory operation.

    This field is a relationship field.

  • Relationship Name: Visit
  • Refers To: Visit

Associated Objects

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 and later.

InventoryOperationChangeEvent
Change events are available for the object.
InventoryOperationFeed
Feed tracking is available for the object.
InventoryOperationHistory
History is available for tracked fields of the object.
InventoryOperationOwnerSharingRule
Sharing rules are available for the object.
InventoryOperationShare
Sharing is available for the object.