Run the batch processes to flatten the account and org unit hierarchies and populate the
complex pricing conditions. Flatten account hierarchy and org unit hierarchy batch is required for
searching across all customer hierarchy levels and applying the relevant conditions. Post the
completion of the pricing worker batch process, the pricing condition table the correct
mapping.
Available in: Enterprise and
Unlimited Editions that have Consumer Goods Cloud enabled
User Permissions Needed
To run batch processes:
(CGCloud Business Admin OR CGCloud Retail Business Admin)
AND
Penny Perfect
Pricing
Log in to Salesforce.
From Setup, select Developer Console.
To open the Enter Apex Code window, select Debug and then select
Open Execute Anonymous Window.
Enter the batch process.
#NAMESPACE#.ScheduleCGCloudServFlattenAccHierarchy f =
new #NAMESPACE#.ScheduleCGCloudServFlattenAccHierarchy();
f.execute(null);
Replace the namespace with the namespace for the org.
Click Execute.
Enter the batch process.
#NAMESPACE#.ScheduleCGCloudServiceFlattenOrgUnit
effAccMgrbatch = new #NAMESPACE#.ScheduleCGCloudServiceFlattenOrgUnit();
effAccMgrbatch.execute(null);
Replace the namespace with the namespace for the org.
Click Execute.
Enter the batch process.
#NAMESPACE#.ScheduleCGCloudServiceComplexPricing f =
new #NAMESPACE#.ScheduleCGCloudServiceComplexPricing(); f.execute(null);
Replace the namespace with the namespace for the org.
Click Execute.
From App Launcher, find and select Batch Run Status.
Check if the three batches have run successfully.
The pricing condition tables are populated with the correct mapping and hash values (merge
key, pricing condition template, and key type).
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.