cgcloud__CP_Calculation_Schema_Step__c

This object stores the details of the relationship between calculation schema and pricing condition template that’s used for the calculation steps that belong to a calculation schema. 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: Name of this record.

cgcloud__Accrual__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the calculation step is an accrual step.
  • Default value: false

cgcloud__Active__c 

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

cgcloud__Base_User_Exit_Id__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Unique identifier for the user exit that modifies the basis value of the calculation.

cgcloud__Calculation_Groups__c 

  • Type: multipicklist

  • Properties: Create, Filter, Nillable, Update

  • Description: Specifies all calculation groups that are relevant for the calculation step.

  • Possible values:

    • A—Delivery
    • B—Return
    • C—Return Resale
    • FreeItem—Free Item

cgcloud__Calculation_Schema__c 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: Reference to the calculation schema record.

    This is a relationship field.

  • Relationship Name: cgcloud__Calculation_Schema__r

  • Relationship Type: Master-detail

  • Refers To: cgcloud__CP_Calculation_Schema__c (Master object)

cgcloud__Constraint_User_Exit_Id__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Unique identifier for a user exit that represents a constraint for the required calculation step.

cgcloud__Interim_Value__c 

  • Type: picklist

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

  • Description: Auxiliary variable that can be used to either store the result of the step (Copy) or sum up the current item value (carry over) as interim value.

  • Possible values:

    • CarryOver(1)—Carry Over (1)
    • CarryOver(2)—Carry Over (2)
    • CarryOver(3)—Carry Over (3)
    • CarryOver(4)—Carry Over (4)
    • CarryOver(5)—Carry Over (5)
    • CarryOver(6)—Carry Over (6)
    • Copy1—Copy (D)
    • Copy2—Copy (E)
    • Copy3—Copy (F)
    • Copy4—Copy (G)
    • Copy5—Copy (H)
    • Copy6—Copy (I)

cgcloud__Item_Meta_Rule__c 

  • Type: picklist

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

  • Description: Specifies 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__Mandatory__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether a calculation step is mandatory. If no matching condition records are found, the calculation stops with an error message.
  • Default value: false

cgcloud__Position__c 

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Position of the calculation step within the calculation schema.

cgcloud__Pricing_Condition_Template__c 

  • Type: reference

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

  • Description: Reference to the pricing condition template.

    This is a relationship field.

  • Relationship Name: cgcloud__Pricing_Condition_Template__r

  • Relationship Type: Lookup

  • Refers To: cgcloud__CP_Pricing_Condition_Template__c

cgcloud__Print_Relevant__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Specifies whether the calculation step is print relevant.
  • Default value: false

cgcloud__Record_Link__c 

  • Type: string

  • Properties: Filter, Nillable, Sort

  • Description: Link to the detail page of the calculation schema step record.

    This is a calculated field.

  • Formula:

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

cgcloud__Selectable_Promotion_Skip__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Skip the calculation step for an item that originates from a selectable promotion.
  • Default value: false

cgcloud__Statistical__c 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Defines whether the calculation step is a statistical step.
  • Default value: false

cgcloud__Step_Constraint__c 

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: Defines a constraint for the calculation step. If the constraint isn’t fulfilled, the calculation step is skipped.

cgcloud__Step_Reference__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Defines the calculation steps that are used as a basis of the current calculation step.

cgcloud__Step__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Position of the calculation step within the calculation schema.

cgcloud__Target_Condition__c 

  • Type: picklist

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

  • Description: Specification of either the line item attribute or sales document attribute that receives the value of the found condition.

  • Possible values:

    • BasePriceReceipt—Base Price (Receipt)
    • GrossTotalValueReceipt—Gross Total Value (Receipt)
    • GrossValueReceipt—Gross Value (Receipt)
    • MerchandiseValueReceipt—Merchandise Value (Receipt)
    • PriceReceipt—Price (Receipt)
    • PricingInfo1—Pricing Info 1
    • PricingInfo2—Pricing Info 2
    • PricingInfo3—Pricing Info 3
    • PricingInfo4—Pricing Info 4
    • TotalValueReceipt—Total Value (Receipt)
    • ValueReceipt—Value (Receipt)

cgcloud__Target_Result__c 

  • Type: picklist

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

  • Description: Specification of either the line item attribute or sales document attribute that receives the result of the current calculation step.

  • Possible values:

    • BasePriceReceipt—Base Price (Receipt)
    • GrossTotalValueReceipt—Gross Total Value (Receipt)
    • GrossValueReceipt—Gross Value (Receipt)
    • MerchandiseValueReceipt—Merchandise Value (Receipt)
    • PriceReceipt—Price (Receipt)
    • PricingInfo1—Pricing Info 1
    • PricingInfo2—Pricing Info 2
    • PricingInfo3—Pricing Info 3
    • PricingInfo4—Pricing Info 4
    • TotalValueReceipt—Total Value (Receipt)
    • ValueReceipt—Value (Receipt)

cgcloud__User_Exit_Id__c 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Unique identifier for the user exit of the calculation step.

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.