Add Configurable Item

User clicks Configure on configurable product in the catalog:

  • Configure
    • Load product configuration
      • Apply rules
        • OnProductRuleExecutionStart
        • OnProductRuleExecutionEnd
      • OnProductLoaded
    • Execute AddItem action in workflow - executing AddItem Pre-actions
  • User selects attribute values
    • [for each attribute value] Apply rules
      • OnProductRuleExecutionStart
      • OnProductRuleExecutionEnd
  • User clicks Add to Quote
    • OnProductBeforeAddToQuote
    • Create quote if it does not exist
      • Create empty
        • Calculate quote custom fields
          • OnBeforeCustomFieldCalculation
          • foreach quote custom field that changed and if not FIRE_SCPARAM_CHANGE_ONLY_ON_USER_ACTION(TRUE): OnCustomFieldChanged
          • OnAfterCustomFieldCalculation
      • Set user's default market and pricebook
      • SAVE QUOTE
        • OnQuoteCreated
      • OnCustomerMappings (crm)
      • OnQuoteFieldsMappings (crm)
    • Execute AddItem action in workflow -Post-actions
    • AddItem
      • Fill item standard fields( quantity, description, base price, product, attributes, unit of measure)
      • Create line items
        • [ for each line item] OnItemAdded
      • OnItemAdded
      • Calculate key attributes
    • Add item finalize
      • Calculate main editable group (calculate QICF values, runs mathematics for Items, Product types and Cart Totals)
      • SAVE QUOTE
        • Get prepared cart (prices in selected market, rounded values…)
          • Fix rounding error
            • calculate cart totals (runs mathematics for Product Types and Cart Totals)
      • Calculate Aggregates
      • Calculate quote custom fields
        • OnBeforeCustomFieldCalculation
        • foreach quote custom field that changed and if not FIRE_SCPARAM_CHANGE_ONLY_ON_USER_ACTION(TRUE): OnCustomFieldChanged
        • OnAfterCustomFieldCalculation
      • Save quote custom fields
      • [If quote custom fields changed] OnEveryTimeQuoteChanged
      • OnUserOnQuotationTab
      • OnCustomerMappings (crm)
      • OnQuoteFieldsMappings (crm)
      • Check discount rules
      • Check margin health
      • [if standard (not editable) shipping used] Calculate shipping cost
        • calculate main editatable group (calculate QICF values, runs mathematics for Items, Product Type and Cart Totals)
        • SAVE QUOTE MODEL - do not calculate quote custom fields
          • SAVE QUOTE
            • Get prepared cart (prices in selected market, rounded values…)
              • Fix rounding error
                • calculate cart totals (runs mathematics for Product types and Cart totals)
          • Calculate aggregates
          • Save quote custom fields
          • [if quote changed (items added/removed, customers, total)] → OnEveryTimeQuoteChanged
          • OnUserOnQuotationTab
      • Load cart actions (checks action conditions such as APPROVALREQUIRED)
      • OnProductAddedToQuote
  • Execute AddItem action in workflow – Post actions
  • Loading cart
    • OnUserOnQuotationTab
    • Get items
      • Get prepared cart (prices in selected market, rounded values…)
        • Fix rounding error
          • calculate cart totals (mathematics for product type and cart totals)
    • BeforeQuoteRendering
You are here: SAP Sales Cloud CPQ Online HelpAdmin Page HelpEvent PipelineAdd Configurable Item