OrderItemSpecRule

Represents a pricing/scope rule attached to an OrderItemSpec, defining the scope of order products the rule applies to and the pricing impact (additive, neutral, or subtractive) it has when matched. This object is available in API version 68.0 and later.

Supported Calls 

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

Special Access Rules 

Available only in orgs with the Manufacturing Cloud or Automotive Cloud Advanced Orders feature enabled.

Fields 

CurrencyIsoCode 

Type: picklist

Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The ISO code for the currency of this record. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.

LastReferencedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The timestamp when the current user last accessed this record, a related record, or a list view.

LastViewedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The timestamp when the current user last viewed this record.

Name 

Type: string

Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort

Description: The auto-generated name of the order item specification rule.

OrderItemSpecId 

Type: reference

Properties: Create, Filter, Group, Sort

Description: The parent OrderItemSpec this rule belongs to. This field is a relationship field. It’s the master in a master-detail relationship.

Relationship Name: OrderItemSpec

Refers To: OrderItemSpec

OrderProductRuleScope 

Type: picklist

Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The scope of order products this rule applies to. Possible values are AccordingToPriceImpact, AllItems, DeliveryExclFreeItems, DeliveryInclFreeItems, and ReturnsOnly.

PriceImpact 

Type: picklist

Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The pricing impact this rule has on matched order products. Possible values are Add (Additive), Neutral, and Subtract (Subtractive).

Associated Objects 

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 and later.