AttributeBasedAdjRule

Represents the attribute conditions in a rule associated with the attribute based adjustment made for a product or service being sold. This object is available in API version 60.0 and later.

Supported Calls 

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

Fields 

AttributeCount 

  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Description: The number of attributes.

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date the attribute based adjustment rule was last referenced.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed a record related to this record.

Name 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: Name of the attribute based adjustment rule.

OwnerId 

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: ID of the owner of the attribute based adjustment rule.

This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

UsageType 

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The type of record where the attribute-based adjustment rule is used.

Possible values are:

  • Pricing
  • Rating

Associated Objects 

This object has these 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.

AttributeBasedAdjRuleFeed: Feed tracking is available for the object.

AttributeBasedAdjRuleHistory: History is available for tracked fields of the object.

AttributeBasedAdjRuleShare: Sharing is available for the object.