---
schema_version: "1"
id: f9967762cef1a4aa340cbd3b7d128a7f56d0cc325d10d83f1c632b83fb40b717
title: Business Logic Extensibility for Orders
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_admin_order_bl_extensibility.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_order_bl_extensibility.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e8e7edacdba1bb473618af709b1c0215463635f9c2916368ed8b10169c3754ed
description: Adjust or enhance the business logic for orders by using customizations through a Lighting Web Component or the APEX (custom class) to tailor the orders on the Consumer Goods Cloud Desktop app as per your requirements. When you click the Save button on orders UI, the custom logic is invoked through an API. You can add custom logic before or after the core logic (save action). You can also customize the list of products shown as part of the proposal list.
products:
  - Consumer Goods
release: "264"
---
# Business Logic Extensibility for Orders

Adjust or enhance the business logic for orders by using customizations through a Lighting Web Component or the APEX (custom class) to tailor the orders on the Consumer Goods Cloud Desktop app as per your requirements. When you click the Save button on orders UI, the custom logic is invoked through an API. You can add custom logic before or after the core logic (save action). You can also customize the list of products shown as part of the proposal list.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong>, <strong>Enterprise</strong>, and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/images/icon_note.png)

Note Before you begin customization through the apex layer, you must configure the custom class in Setup. You can configure only one apex (custom class) at a time.

- **[Business Logic Extensibility Through LWC](https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_order_bl_extensibility_lwc.htm&release=264.0.0&type=5)**  
    To extend or modify the business logic, create a Lightning Web Component (LWC) and add it to the orders Lightning record page. With the custom LWC component, you can create interactions with the standard components and modify the existing order. Any changes to the data using the custom LWC component are reflected in the standard components.

#### See Also

- [Retail Order UI Customization](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/retail_order_ui_customization.htm)