ProductRequest

Represents a request or an order for products to and from specific inventory locations. 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

AccountId

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

    This field is a relationship field.

  • Relationship Name: Account
  • Relationship Type: Lookup
  • Refers To: Account

CaseId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The case associated with the product request. For example, this may be the case because of which the product is requested.

    This field is a relationship field.

  • Relationship Name: Case
  • Relationship Type: Lookup
  • Refers To: Case

Description

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: The description of the product request.

DestinationLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The location where the product is delivered.

    This field is a relationship field.

  • Relationship Name: DestinationLocation
  • Relationship Type: Lookup
  • Refers To: Location

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.

NeedByDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date by which the product must be delivered to fulfill the request.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The owner of the product request.

    This field is a polymorphic relationship field.

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

ProductRequestNumber

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: An auto-generated number identifying the product request.

ShipToAddress

  • Type: address
  • Properties: Filter, Nillable
  • Description: The address that the product is to be delivered to.

ShipToCity

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The city that the product is to be delivered to.

ShipToCountry

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The country that the product is to be delivered to.

ShipToGeocodeAccuracy

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The accuracy of the geocode for the shipping address.

ShipToLatitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The latitude of the location where the product is to be delivered to.

ShipToLongitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The longitude of the location where the product is to be delivered to.

ShipToPostalCode

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The postal code of the address where the product is to be delivered to.

ShipToState

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the state where the product is to be delivered to.

ShipToStreet

  • Type: textarea
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The street address where the product is to be delivered to.

ShipmentType

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
  • Description: The type of shipment. The picklist includes the following values by default:
    • None
    • Rush
    • Overnight
    • Next Business Day
    • Pick Up

SourceLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The location from which the product is shipped.

    This field is a relationship field.

  • Relationship Name: SourceLocation
  • Relationship Type: Lookup
  • Refers To: Location

Status

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
  • Description: The status of the product transfer.

WorkOrderId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The work order that’s associated with the product request.

    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 that’s associated with the product request.

    This field is a relationship field.

  • Relationship Name: WorkOrderLineItem
  • Relationship Type: Lookup
  • Refers To: WorkOrderLineItem