Newer Version Available

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

SalesAgreementProduct

Represents the total quantity or amount and the default pricing information of a product or category across the total time period of the sales agreement.This object is available in API version 47.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
DiscountPercentage
Type
percent
Properties
Filter, Nillable, Sort
Description
Percent of discount offered on the sales price.
InitialPlannedAmount
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
The total amount of the product or category that you initially plan on selling across the sales agreement term.
InitialPlannedQuantity
Type
int
Properties
Filter, Group, Sort
Description
The total quantity of the product or category that you initially plan on selling across the sales agreement term.
IsAddedAfterActivation
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the sales agreement product or category is added after the sales agreement was activated.
The default value is 'false'.
IsUnderRevision
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicator of whether the sales agreement product or category is under revision or not. In an under revision state, edits can be made and if approved, the edits are automatically incorporated and the sales agreement is reactivated.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which this record was referenced.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which this record was viewed.
ListPrice
Type
currency
Properties
Filter, Nillable, Sort
Description
Price of a product as specified in a price book.
Name
Type
string
Properties
Filter, Group, idLookup, Sort
Description
Name of the product or category.
PricebookEntryId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the referenced price book.
ProductCategoryId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
The product category associated with the sales agreement.
This is a relationship field.
Relationship Name
ProductCategory
Relationship Type
Lookup
Refers To
ProductCategory
ProductId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of the product.
SalesAgreementId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the sales agreement to which the product is added.
SalesPrice
Type
currency
Properties
Filter, Nillable, Sort
Description
Price per unit of the unit at which you initially decide to sell the product.
TotalActualAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Field displaying the sum of actual amounts across all schedules at a given time.
TotalActualQuantity
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Field displaying the sum of actual quantities across all schedules at a given time.
TotalForecastedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Field displaying the sum of forecasted amounts across all schedules at a given time.
TotalForecastedQuantity
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Field displaying the sum of forecasted quantities across all schedules at a given time.
TotalPlannedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Field displaying the sum of planned amounts across all schedules at a given time.
TotalPlannedQuantity
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Field displaying the sum of planned quantities across all schedules at a given time.
TotalProposedPlannedAmount
Type
currency
Properties
Filter, Nillable, Sort
Description
Field displaying the sum of planned amounts across all schedules at a given time when the sales agreement is under revision.
TotalProposedPlannedQuantity
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Field displaying the sum of planned quantities across all schedules at a given time when the sales agreement is under revision.

Associated Object

This object has the following associated object. Unless noted, it is available in the same API version as this object.

SalesAgreementProductHistory
History is available for tracked fields of the object. This object is available in API version 49.0 and later.