ApptBundleSortPolicy
Policy that defines the properties by which the bundle members are sorted within the bundle. Can also be used in the automatic mode for determining the order of the automatic selection of bundle members.
Introduced in API version 51.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
-
- Field Service must be enabled.
- Bundling must be enabled in the Field Service Settings.
- The Field Service Admin, Field Service Bundle for Dispatcher, and Field Service Integration permission sets must be enabled.
-
Type: reference
-
Properties: Create, Filter, Group, Sort
-
Description:
The ID of the parent bundle policy.
This is a relationship field.
-
Relationship name: BundlePolicy
-
Relationship type: masterdetail
-
Refers to: ApptBundlePolicy
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Name of the appointment bundle sort policy.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The order of the appointments in a bundle
- Possible values:
- Ascending — Ascending
- Descending — Descending
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description:
Name of the field in the service appointment used for sorting the bundle members.
Possible values are: All default and custom Service Appointment fields.
- Type: int
- Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
- Description: The order of fields used for sorting the bundle members.
- Default value: 1
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: The applied sort type for arranging the bundle. Sort for Automatic Bundling defines the order that automated bundling uses to examine the candidate service appointments to be bundled. Sort Within a Bundle defines the order of bundle members. It’s also used when you unbundle to define the order that the service appointments are scheduled on the Gantt.
- Possible values:
- SortForAutomaticBundling — SortForAutomaticBundling — Sort For Automatic Bundling
- SortWithinaBundle — SortWithinaBundle — Sort Within a Bundle
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.