Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ProductQuantityRule

Represents the relationship between a quantity rule and a product. This object assigns quantity rules to a product. This object is available in API version 51.0 and later.

Supported Calls

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

Special Access Rules

The ProductQuantityRule object is available only if the B2B Commerce license or Automotive Cloud license is enabled.

Fields

Field Details
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The ISO code for the currency that’s specified on the buyer’s account. This field is exposed in orgs that have multicurrency enabled. Default value is USD.
Possible values are:
  • EUR—Euro
  • USD—U.S. Dollar
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of the product quantity rule.
ProductId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
ID of the product.
This field is a relationship field.
Relationship Name
Product
Relationship Type
Lookup
Refers To
Product2
PurchaseQuantityRuleId
Type
reference
Properties
Create, Filter, Group, Sort
Description
ID of the related purchase quantity rule.
This field is a relationship field.
Relationship Name
PurchaseQuantityRule
Relationship Type
Lookup
Refers To
PurchaseQuantityRule