Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          EPC Fix Compiled Attribute Override

          EPC Fix Compiled Attribute Override

          This job corrects attribute record IDs after data migration when product attribute overrides are present on promotions. This job regenerates the JSONAttribute field on CompiledAttributeOverride records for attribute overrides (for products that have attribute overrides, this job regenerates all the JSONAttributes for those overrides).

          Run the batch job in execute anonymous:

          Database.executeBatch(new EPCFixCompiledAttributeOverrideBatchJob (), 1);

          If you run this job on an installed package, as is usually the case at a customer site, then run:

          Database.executeBatch(new vlocity_cmt.EPCFixCompiledAttributeOverrideBatchJob (), 1);

          Applies to

          CME Summer '17 and later

          Apex Name

          EPCFixCompiledAttributeOverrideBatchJob

          Where to Run This Job

          Developer Console

          Risks of Running This Job

          None

          When Not to Run This Job

          Do not run the EPCFixCompiledAttributeOverrideBatchJob in a live production environment when orders are being taken.

          When to Run This Job

          After spinning a new org and migrating data, specifically, promotions data, from an old org to a new one.

          More Information

          For more information, see EPC Product Attribute JSON or Fix Product Attribute JSON.

           
          Loading
          Salesforce Help | Article