---
schema_version: "1"
id: 781417646905d7898ae5cc5dd2ef2984a2c0c637c7051ab583cf9c36742b3033
title: Customizing Default Margin Range and Validation Interface Implementations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_customizing_default_margin_range_and_validation_interface_implementations.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_customizing_default_margin_range_and_validation_interface_implementations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 35efb98a06b8aa20c3f8609b62afae0b6962a1a8279a09f917b4a5534ea824e8
description: Follow these optional customization steps to build your own margin range and margin validation interface implementations.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Customizing Default Margin Range and Validation Interface Implementations

Follow these optional customization steps to build your own margin range and margin validation interface implementations.

- The default MarginRangeLoader interface implementation loads the margin range data from the calculation procedure and returns the data in an output map. The calculation procedure is passed through the parameter, loadMarginRange, in the pricing plan step.
- The default MarginValidation interface implementation validates margin ranges on line items in the Industries CPQ Cart.

1. To customize the default MarginRangeLoader interface implementation, see [Customize the MarginRangeLoader Interface Implementation](https://help.salesforce.com/s/articleView?id=ind.comms_customize_the_marginrangeloader_interface_implementation.htm&release=264.0.0&type=5 "If you do not want to use a Vlocity calculation procedure to calculate your margin ranges, you can create a new one, name it in the pricing plan step, and build custom logic to load the margin range.").
2. To customize the default MarginValidation interface implementation, see [Customize the MarginValidation Interface Implementation](https://help.salesforce.com/s/articleView?id=ind.comms_customize_the_marginvalidation_interface_implementation.htm&release=264.0.0&type=5 "This interface implementation is called by the default Margin Range Loader interface implementation. You can overwrite this class to customize the margin validation.").
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_tip.png)
    
    Tip
    
    You can customize either one or both interface implementations.