To populate or update the correct hash values (merge key, pricing condition template,
and key type) in the TemplateKeyTypeMergedKeyHash__c column
for pricing condition records, run the manual batch process. This process is a one-time
activity.
Required Editions
|
Available in: Lightning Experience
Available in: Enterprise and
Unlimited Editions that have Consumer Goods Cloud enabled
|
| User Permissions Needed |
| To update the complex pricing condition object: |
(CGCloud Business Admin
OR
CGCloud Retail Business Admin)
AND
Penny Perfect
Pricing
|
-
From Setup, select Developer Console.
-
To open the Enter Apex Code window, select .
-
Enter this code.
Database.executeBatch(new cgcloud.PricingConditionsHashPopulateBatch(), 100);
-
Click Execute.
-
Select Open Log to view the log in the Log Inspector.
After the code runs, the debug log is listed on the Logs tab. To view the log
details, double-click the log.