Newer Version Available

This content describes an older version of this product. View Latest

SalesTransaction

Defines the business logic for a sales transaction, for example, an order or a cart. This object interface is available in API version 55.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

This object interface is available with Subscription Management and B2B Commerce.

Fields

Field Details
ImplementorType
Type
string
Properties
Default on create, Filter, Group, Restricted picklist, Sort
Description
The object that is implementing this object interface, for example, an Order object.
TotalAdjustmentAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The sum of all adjustments applied to the sales transaction, inclusive of quantity, prorated for the duration of the subscription. Includes distributed price adjustment items and price adjustment items applied directly. This is a calculated field equal to the sum of TotalAdjustmentAmount on the related sales transaction items.
TotalAdjustmentDistAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The sum of the distributed price adjustment items applied to the related sales transaction items, inclusive of quantity, prorated for the duration of the subscription. Does not include price adjustment items that are applied directly. This is a calculated field equal to the sum of TotalAdjustmentDistAmount on the related sales transaction items.
TotalAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The final price of the sales transaction, after all adjustments, inclusive of quantity, prorated for the duration of the subscription. This is a calculated field equal to the sum of TotalPrice on the related sales transaction items.
TotalListAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The sum of the list price of the related sales transaction items, inclusive of quantity, prorated for the duration of the subscription. This is a calculated field equal to the sum of ListPriceTotal on the related sales transaction items.
TotalProductAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
The total price of all related sales transaction items of type Product, before price adjustments, inclusive of quantity, prorated for the duration of the subscription. This is a calculated field equal to the sum of TotalLineAmount on the related sales transaction items of type Product.