ProductRequest

Represents an order for a part or parts in field service.

Supported Calls

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

Special Access Rules

Field Service Lightning must be enabled.

Fields

Field Name Details
AccountId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The account associated with the product request.
CaseId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The case associated with the product request.
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Available only if the multicurrency feature is enabled. Contains the ISO code for any currency allowed by the organization. The label in the user interface is Currency ISO Code.
Description
Type
textarea
Properties
Create, Nillable, Update
Description
A text field for details not recorded in the provided fields.
DestinationLocationId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Where the product is delivered.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the product request was last modified. Its label in the user interface is Last Modified Date.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the product request was last viewed.
NeedByDate
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
Date the product must be delivered by.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The owner of the shipment.
ProductRequestNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
An auto-assigned number that identifies the shipment.
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 the product is shipped from.
Status
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
Status of the product transfer.
WorkOrderId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The work order that the product request is related to.
WorkOrderLineItemId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The work order line item that the product request is related to.