Loading
Set Up Trade Promotion Management
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
          Promotion API

          Promotion API

          Use the Promotion API to create promotions and load mass promotions from outside the system. A transformation Apex engine in Processing Services transforms a simple JSON structure into BO (Business Object) JSON structure by applying Business Object API Workflow Steps. The configuration for the BO API is given through Business Object API Workflows.

          Required Editions

          Available in: Lightning Experience

          Available in: Enterprise and Unlimited Editions where Consumer Goods Cloud is enabled

          For example, you can use a transformation engine that's used in simple promotion creation to create a promotion by converting a simple promotion structure into the existing BO promotion structure through the application of Business Object API Workflow Steps. The transformation engine calls some core methods that are used to implement Business Object API Workflow Steps. You can leverage the existing logic that's defined using the core methods or define your own logic to apply transformations through the transformation engine.

          • Create Business Object APIs
            Use the Business Object API to hold the header information for Business Object APIs for sales orgs.
          • Create the Business Object API Entity
            Use the Business Object API Entity to hold the entity definitions for the Business Object APIs that are used in workflows and in input and output entities. 
          • Create Business Object API Workflows
            A Business Object (BO) API Workflow record holds the workflow steps that are defined for a specific business scenario that you can apply on the object or the sales org. For example, a Business Object API Workflow record that's created for the Promotion object contains Business Object API Workflow Steps to apply on the Promotion object when transforming a simple promotion JSON structure into the BO promotion structure.
          • Create Business Object API Workflow Steps
            Business Object API Workflow Steps are Apex-callable classes responsible for applying transformations on an object. Each Business Object API Workflow Steps record contains information on the callable Apex class that implements the Business Object API Workflow Steps. Optionally, the record contains the action that's passed to the callable class.
          • Core Business Object API Rule Definitions
            Trade Promotion Management includes some methods that are used to create Business Object (BO) API Workflow Steps. These steps are used to create the output JSON that's used during BO API Transaction creation and mass-copy promotion.
          • Business Object API Transaction Log
            Huge effort is required to plan, create, and run promotions. Creating thousands of promotions is a time-consuming task. Trade Promotion Management provides setup flows and APIs that simplify the creation, copying, and update of promotions. For instance, all promotions created in the previous year can be copied and run for the next year with a single click in the trade calendar.
           
          Loading
          Salesforce Help | Article