Object Reference for the Salesforce Platform
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ResourcePreference
Resource preferences indicate which service resources can be assigned to field service work. You can designate service resources as preferred, required, or excluded on specific accounts, assets, locations, work orders, or work order line items. Work orders inherit their associated account’s resource preferences.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Special Access Rules
Field Service must be enabled.
Fields
| Field Name | Details |
|---|---|
| LastReferencedDate |
|
| LastViewedDate |
|
| PreferenceType |
|
| RelatedRecordId |
|
| ResourcePreferenceNumber |
|
| ServiceResourceId |
|
Associated Objects
This object has these associated objects. Unless noted, they’re available in the same API version as this object.
- ResourcePreferenceChangeEvent (API version 54.0)
- Change events are available for the object.
- ResourcePreferenceFeed
- Feed tracking is available for the object.
- ResourcePreferenceHistory
- History is available for tracked fields of the object.