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
          ProductRelationshipValidationImpl

          ProductRelationshipValidationImpl

          Validates line items based on defined product relationships. The implementation checks for required or excluded products when a product is added to the list of line items.

          This implementation is deprecated. Use ValidationRulesImplementation instead.

          For example, you can define a product relationship in which Product A requires Product B. When Product A is added to the line items, ProductRelationshipValdiationImpl checks whether Product B is also in the list of line items. If Product B is missing, then a message appears indicating that Product B is required. Similarly, an error message appears when Product A excludes Product B and both are added to the cart.

          Interface

          ProductValidationInterfaceProductValidationInterface

          Sample Code

          See ProductValidationInterfaceProductValidationInterface.

          Related Implementations

          • DefaultProductValidationImplementationDefaultProductValidationImplementation

          • ValidationRulesImplementation

          • ValidationRulesFlowImplementationValidationRulesFlowImplementation

           
          Loading
          Salesforce Help | Article