PromotionLineItemRule

Lists compound conditions about a promotion.

Introduced in API version 59.0.

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

  • Type: boolean

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Introduced: API version 67.0

  • Default value: false

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: ID of the associated reference.
  • Relationship name: AssociatedReference
  • Relationship type: polymorphic
  • Refers to: PromotionQualifier, PromotionTarget
  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort
  • Description: Specifies the type of object the rule is associated with.
  • Possible values:
    • PromotionQualifier — PromotionQualifier
    • PromotionTarget — PromotionTarget
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Name of the promotion rule.
  • Type: picklist

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

  • Introduced: API version 59.0

  • Description:

    Operator type for promotion line item rule.

    The default value is EQUAL_TO.

  • Possible values:

    • EQUAL_TO — EQUAL_TO (default)
    • GREATER_THAN — GREATER_THAN
    • GREATER_THAN_OR_EQUAL_TO — GREATER_THAN_OR_EQUAL_TO
    • LESS_THAN — LESS_THAN
    • LESS_THAN_OR_EQUAL_TO — LESS_THAN_OR_EQUAL_TO
    • NOT_EQUAL_TO — NOT_EQUAL_TO
  • Default value: EQUAL_TO

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Introduced: API version 68.0

  • Relationship name: ProductSellingModel

  • Relationship type: relationship

  • Refers to: ProductSellingModel

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Specifies the type on which the rule is being applied.
  • Possible values:
    • Attribute — Attribute
    • Price — Price
    • Product — Product
    • ProductCategory — ProductCategory
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: ID of the type.
  • Relationship name: TypeReference
  • Relationship type: polymorphic
  • Refers to: Product2, ProductCategory
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Introduced: API version 59.0
  • Description: Value of the type selected.