Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Working with Services

          Working with Services

          Services are Apex classes that implement interfaces. Service descriptions include the implemented interface, other implementations of the same interface, and often sample code. Some service descriptions include the type, signature, methods, input parameters, and output parameters. For service descriptions that don't, see the interface descriptions.

          • Enabling the Pricing Plan Service
            To configure the service, you must import the default pricing plan DataPack, enable the custom setting, and set the implementation:
          • AttributeAssignmentRuleService
            Run attribute assignment rules for a specific record or as a batch job for an sObject type.
          • ContextRuleService
            Evaluate rule conditions through the FormulaParser to qualify objects like Promotions and Products or to identify action sets when a penalty action occurs.
          • ContextService
            Set the current user context so rules can be evaluated based on the current value of the context dimensions.
          • Integration Procedure Invocation from Apex
            Starting with Summer’ 25, use the ConnectAPI.OmniDesignerConnect.integrationProcedureExecute(ipName, apexInput) Connect API for Integration Procedure calls from the IntegrationProcedureService Apex class.
          • PricingMatrixCalculationService
            Invoke calculation procedures. It is the default service that OmniScript uses for calculation actions. You can also use it as part of any Apex class in which you want to call a pricing calculation.
          • PricingPlanService
            Executes pricing steps that are defined as methods in VlocityOpenInterface implementations. The default pricing steps are implemented by the default implementation ( DefaultPricingPlanImplementationDefaultPricingPlanImplementation).
          • SetCartItemExternalPriceService
            The SetCartItemExternalPriceService is a VlocityOpenInterface implementation. You can use it only when the PricingElementServiceImplementation is the active pricing implementation associated with the PricingInterface. SetCartItemExternalPriceService sets prices that come from a process or service external to pricing elements. Setting recurring and one-time charges using this service enables the advanced pricing module to track and manage prices that do not come from a price list. The SetCartItemExternalPriceService is instantiated and invoked directly in the PricingElementServiceImplementation hook custom Apex code to set the external prices before the PricingElementServiceImplementation priceLineItems method is invoked.
          • TranslationService
            Returns string translations and translations for specified Salesforce object fields. To create string translations, go to the Vlocity Product ConsoleCreate Products in the Product Console. To define translations for object fields, go to the Vlocity CMT Administration tab.
          • XLIMergeService
            Merge opportunity, order, and quote line items. The XLIMergeService implementation supports mergeRoots, mergeItemsToRoot, mergeFromParent, and mergeRootsInParent.
          • XLIPricingValidationService
            Invoke pricing rules to validate line items in the input list (parentList) of Opportunities, Orders, and Quotes.
          • XLIAvailabilityValidationService
            The XLIAvailabilityValidationService invokes availability rules to validate line items in the input list (parentList) of opportunities, orders, and quotes.
          • XLIEligibilityValidationService
            Invoke eligibility rules to validate line items in the input list (parentList) of opportunities, orders, and quotes.
          • XLIConfigurationValidationService
            Invoke compatibility rules to validate line items in the input list (parentList) of opportunities, orders, and quotes.
           
          Loading
          Salesforce Help | Article