PriceAdjustmentSchedule
Represents a series of discounts offered depending on your product’s configuration, quantity, and when they’re purchased in combination with other products.
Introduced in API version 47.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- This object is available when the B2B Commerce license is enabled or when Subscription Management is enabled.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
-
Introduced: API version 51.0
-
Description:
The method for applying tiered pricing. The default value is
Range. Term-based discounts can’t be of typeSlab.The
Slabmethod functions in the same way as theRangemethod. -
Possible values:
- Range — Range — All items receive the discount of the highest tier the quantity falls in.
- Slab — Slab — Items receive the discount defined for the tier they fall in.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 61.0
-
Relationship name: Contract
-
Relationship type: relationship
-
Refers to: Contract
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Text description of the price adjustment schedule.
- Type: string
- Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
- Introduced: API version 68.0
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the price adjustment schedule is active (
true) or not (false). You can change this field’s value as often as necessary. Label is Active. The default value isFalse.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Required. The name of the price adjustment schedule. This field is read-only. Label is Price Adjustment Schedule Name.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
-
Introduced: API version 55.0
-
Description:
Indicates how the price adjustment is determined. This field is available when Subscription Management is enabled.
The default value is
Volume. -
Possible values:
- Attribute — Attribute — The characteristics or properties of a product determine the price adjustment.
- Bundle — Bundle — The price adjustment that is determined when you want to sell a group of products or services as a unit.
- Custom — Custom — The price adjustment that can be customized for the user’s needs.
- Term — Term — The length of the subscription determines the price adjustment. Available in API version 58.0 and later.
- Volume — Volume (default) — The quantity purchased determines the price adjustment.
-
Default value: Volume
When you create a PriceAdjustmentSchedule, you associate PriceAdjustmentTiers with it. A PriceAdjustmentSchedule is inactive until at least one PriceAdjustmentTier is added to it. A PriceAdjustmentSchedule comprises all related PriceAdjustmentTiers, with a maximum limit of 25 PriceAdjustmentTiers for Subscription Management.
To use PriceAdjustmentSchedule, associate it with a PriceBookEntry.
- You can associate a PriceBookEntry with up to five PriceAdjustmentSchedules, but only one PriceAdjustmentSchedule can be associated with a PriceBookEntry.
- When you activate or deactivate a PriceAdjustmentSchedule, its PriceBookEntry association is also activated or deactivated.
- An adjustment to a PriceBookEntry is applied only if the associated PriceAdjustmentSchedule is active.
- After a PriceAdjustmentSchedule is associated with a PriceBookEntry, if multicurrency is enabled, the currencyIsoCode field can’t be modified.
- When you associate a PriceAdjustmentSchedule with a PricebookEntry, a junction object PricebookEntryAdjustment is created.
You can modify the PriceAdjustmentTier object, and the ScheduleType and AdjustmentMethod fields, only when a PriceAdjustmentSchedule is inactive.
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.