ProductRequestLineItem

Represents a product that’s requested as a part of a product request. Product request line items are components of product requests. Each line item is associated with a specific product being requested. 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 line item.

    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 line item.

    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 line item.

DestinationLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The destination of the product delivery.

    This 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 when the product must be delivered by.

ParentId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The product request that’s associated with the product request line item.

    This field is a relationship field.

  • Relationship Name: Parent
  • Relationship Type: Lookup
  • Refers To: ProductRequest

Product2Id

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

    This field is a relationship field.

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

ProductRequestLineItemNumber

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

QuantityRequested

  • Type: double
  • Properties: Create, Filter, Sort, Update
  • Description: The quantity of the requested product.

QuantityUnitOfMeasure

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The units of the requested product; for example, grams, liters, or units. The picklist values can be customized.

ShipToAddress

  • Type: address
  • Properties: Filter, Nillable
  • Description: The physical address where the product is needed.

ShipToCity

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The city of the address where the product is needed.

ShipToCountry

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The country of the address where the product is needed.

ShipToGeocodeAccuracy

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Accuracy level of the geocode for the address where the product is needed.

ShipToLatitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Used with Longitude to specify the precise geolocation of the address where the product is needed. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.

ShipToLongitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Used with Latitude to specify the precise geolocation of the address where the product is needed. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.

ShipToPostalCode

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

ShipToState

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The state of the address where the product is needed.

ShipToStreet

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

ShipmentType

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

SourceLocationId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Where the product is at the time of the request.

    This 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 shipment. The picklist includes the following values, which can be customized:
    • Draft
    • Submitted
    • Received

WorkOrderId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The work order for which the product is needed.

    This 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 is needed.

    This is a relationship field.

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