Version: eXtendOrders 2.1.69 and above
Audience: Administrator

Overview

The Imprint Method Configuration (IMC) caching system in eXtendOrders optimizes the performance of the Configurator UI by maintaining cached IMC data. There are default deployments in place out of the box, but you can make modifications to the scheduled processing depending on your environment and whether more frequent caching is beneficial.

Configuration

The IMC caching system requires three main components to be configured:

1. Script Deployment Setup

  1. Navigate to Customization → Scripting → Scripts

  2. Locate the workflow action script: eXtendOrders Set IMC Cache Data

  3. Ensure the following script deployment has been created:

    • Record Type: eXtend IMC Imprint Method Configuration
    • Status: Released
    • Log Level: Audit or Error
    • Audience: All roles

2. Workflow Configuration

  1. Access the active workflows for eXtend IMC Imprint Method Configuration record type
  2. Locate the workflow: eXtendOrders Create/Update IMC Cache[B]
  3. Ensure the workflow is running and that it contains the "eXtendOrders Set IMC Cache Data" workflow action

3. Map/Reduce Script Scheduling

  1. Navigate to Customization → Scripting → Scripts
  2. Locate the script: eXtendOrders Set IMC Cache Data MR
  3. Create or update the scheduled deployment
    1. Note: There is an unscheduled deployment present that shouldn't be modified
      1. Name: eXtendOrders Set IMC Cache Data MR[DNS]
      2. ID: customdeploy_extend_orders_imc_cache_dns
  4. We recommend running this weekly during off-peak hours for most environments

Frequently Asked Questions (FAQs)

Q: What happens if the IMC cache becomes out of date?
A: The Map/Reduce script will refresh the cache during its next scheduled run. For immediate updates, the workflow action script handles real-time changes as IMC records are modified.

Q: Do I need to enable any specific preferences for IMC imports?
A: Yes, enable the "Run Server SuiteScript and trigger WorkFlows" preference when importing IMC records to ensure proper cache updates.

Q: What happens when an IMC record is deleted?
A: The "eXtendOrders Set IMC Cache Data" workflow automatically updates the cache to reflect the deletion.