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

Available in: Lightning Experience in Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled
Note
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
    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.