cgcloud__CP_Pricing_Condition_Template__c

The pricing condition template object is used to define what is to be calculated in a step of a calculation schema. This object is available in API version 54.0 and later.

Supported Calls 

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

Fields 

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user referenced this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user viewed this record.

Name 

  • Type: string
  • Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: Unique identification of the record.

OwnerId 

  • Type: reference

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

  • Description: ID of the record owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

RecordTypeId 

  • Type: reference

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

  • Description: Represents the record type of the record.

    This is a relationship field.

  • Relationship Name: RecordType

  • Relationship Type: Lookup

  • Refers To: RecordType

cgcloud__Active__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Active Flag.
  • Default value: false

cgcloud__Base__c 

  • Type: picklist

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

  • Description: Defines the item or product attribute that is to be used as the base for several pricing functionalities such as scale determination or condition value distribution to items.

  • Possible values:

    • Quantity
    • Value
    • Volume
    • Weight

cgcloud__Condition_Level__c 

  • Type: picklist

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

  • Description: Defines whether the complex pricing condition type describes header-level or item-level conditions.

  • Possible values:

    • OrderHeader—Order Header
    • OrderItem—Order Item

cgcloud__Decimal_Places__c 

  • Type: picklist

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

  • Description: Defines the number of remaining decimal places, if rounding applies.

  • Possible values:

    • 0—None
    • 1—One
    • 2—Two
    • 3—Three
    • 4—Four
    • 5—Five
    • 6—Six

cgcloud__Description_Language_1__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 1.

cgcloud__Description_Language_2__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 2.

cgcloud__Description_Language_3__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 3.

cgcloud__Description_Language_4__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 4.

cgcloud__Description__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Description based on the user-specified language.

    This is a calculated field.

  • Formula:

    1CASE($User.cgcloud__Language_Postfix__c,
    2"Language1", cgcloud__Description_Language_1__c,
    3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c),
    4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c),
    5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),
    6cgcloud__Description_Language_1__c)

cgcloud__Distribute_To_Item__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the found or calculated condition value is to be distributed among the sales document items.
  • Default value: false

cgcloud__Item_Grouping__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Specifies that the condition applies to a group of items (group condition).
  • Default value: false

cgcloud__Mandatory__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Mandatory flag.
  • Default value: false

cgcloud__Manual_Source_Attribute__c 

  • Type: picklist

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

  • Description: Defines the field from which the manual condition is taken.

  • Possible values:

    • PricingInfo1—Pricing Info 1
    • PricingInfo2—Pricing Info 2
    • PricingInfo3—Pricing Info 3
    • PricingInfo4—Pricing Info 4

cgcloud__Manual__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the condition type requires manual editing of the condition.
  • Default value: false

cgcloud__Meta_Type__c 

  • Type: picklist

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

  • Description: Reference to the meta type of the complex pricing condition template.

  • Possible values:

    • AddFreeItm—Add Free Item
    • FixAmount—Amount
    • FlatRate—Flat Rate
    • FreeGood—Free Good
    • LastVldVal—Last Valid Value
    • Maximum
    • Minimum
    • MultiBuy—Multi Buy
    • Percentage
    • Price
    • Summation
    • UserExit—User Exit Only

cgcloud__Rounding__c 

  • Type: picklist

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

  • Description: Defines whether the system rounds the calculation result after the calculation step has been applied.

  • Possible values:

    • 0—No Rounding
    • 1—Commercial Rounding
    • 2—Always Round Up
    • 3—Always Round Down

cgcloud__Sales_Org__c 

  • Type: picklist

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

  • Description: Describes the sales organization to which the pricing condition template belongs.

  • Possible values:

    • 0000
    • 0001
    • 0002
    • 0003

cgcloud__Scale_Type__c 

  • Type: picklist

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

  • Description: Specifies whether scale conditions apply and, if Scale Type is not empty, how to interpret the scale.

  • Possible values:

    • From
    • Graduated
    • To

cgcloud__Search_Strategy__c 

  • Type: reference

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

  • Description: Defines the search strategy of the calculation schema step.

    This is a relationship field.

  • Relationship Name: cgcloud__Search_Strategy__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__CP_Search_Strategy__c

cgcloud__Sign__c 

  • Type: picklist

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

  • Description: Defines the leading sign of condition values.

  • Possible values:

    • +—P (Plus)
    • -—M (Minus)
    • N—Not Specified

cgcloud__Sort__c 

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Controls the position of templates in overviews and wizards.

cgcloud__Subtotal__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Specifies the pricing templates that are used to define subtotal condition templates.
  • Default value: false

Associated Objects 

Associated Objects 

This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.