Populate Hash Values in the Complex Pricing Condition Object

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

  1. From Setup, select Developer Console.
  2. To open the Enter Apex Code window, select Debug | Open Execute Anonymous Window.
  3. Enter this code.
    Database.executeBatch(new cgcloud.PricingConditionsHashPopulateBatch(), 100);
    
  4. Click Execute.
  5. 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.