Let us know so we can improve!
The online Trailblazer Community is now read-only. [Read the FAQ] [Get Help]
Defines the business logic for a top-level price adjustment, for example, a discount applied to an entire order. This object interface is available in API version 55.0 and later.
describeSObjects(), query(), retrieve()
This object interface is available with Subscription Management or B2B Commerce.
Type: picklist
Properties: Filter, Restricted picklist, Sort
Description: Indicates the source of the adjustment. This field is available with B2B Commerce.
Possible values:
Discretionary—The adjustment is entered manually, for example, by a sales rep.Promotion—The adjustment is part of a promotion.Rule—Reserved for future use.System—The adjustment is configured by the system data, for example, as part of a pricing rule or discount schedule.Type: picklist
Properties: Filter, Restricted picklist, Sort
Description: Indicates whether the adjustment is a percentage, an amount, or an override.
Possible values:
AdjustmentAmount—Reserved for future use.AdjustmentPercentageOverrideAmountType: int
Properties: Filter, Nillable, Sort
Description: A positive integer indicating the order in which this price adjustment group is applied, relative to other price adjustment groups. A Priority of 1 indicates this price adjustment group is applied first.
Price adjustments with a null priority are applied after price adjustments with a specified priority. If two or more price adjustments have a null priority, percentage adjustments are applied before amount adjustments. Applying a percentage adjustment before an amount adjustment results in a larger total adjustment.
The value of Priority must be unique among price adjustment groups in the same sales transaction.
TotalAmount fields in the related price adjustment items.