cgcloud__Order_Item_Rule__c

Defines the rules handled by the pricing engine during the complex pricing calculation. This object is available in API version 54.0 and later.

Supported Calls 

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

Fields 

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: Unique identification of the record.

cgcloud__Effect__c 

  • Type: picklist

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

  • Description: Defines how the order item template affects the reference value determination.

  • Possible values:

    • +—Add
    • -—Subtract
    • n—Neutral

cgcloud__Item_Meta_Rule__c 

  • Type: picklist

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

  • Description: Defines how the rules apply to the order item template.

  • Possible values:

    • According to Price Effect
    • All Items (Total)
    • Delivery (excl. Free Item)
    • Delivery (incl. Free Item)
    • Returns Only

cgcloud__Order_Item_Template__c 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: Reference to the order item template object.

    This is a relationship field.

  • Relationship Name: cgcloud__Order_Item_Template__r

  • Relationship Type: Master-detail

  • Refers To: cgcloud__Order_Item_Template__c (master object)

cgcloud__Record_Link__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Link to the detail page of the order item rule record.

    This is a calculated field.

  • Formula:

    1HYPERLINK("/" &Id, $Label.cgcloud__record_link, "_top")

Associated Objects 

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.