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.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.