Version: eXtendOrders 2.1.47 and above
Audience: Administrator

Overview

This guide explains how to customize the retention duration for unused or orphaned Order Imprint Configuration (OIC) records in eXtendOrders by creating a custom saved search and updating the associated Map/Reduce script deployment.

Configuration

To customize the OIC backup retention duration, you need to create a new saved search and update the associated Map/Reduce script deployment.

Creating a Custom Saved Search

  1. Create a new saved search against the "eXtend OIC Order Imprint Configuration" record type or make a copy of the included "eXtendOrders Orphan OIC Delete[B]" saved search.
  2. Set the "Date Created" criteria to your desired timeframe (e.g., "is before 2 weeks ago" for a two-week retention period).
  3. Save the search. Make note of the search's ID.

Updating the Map/Reduce Script Deployment

  1. Navigate to Customization → Scripts → Scripts.
  2. Find and open the "eXtendOrders Delete Job Queue & OIC MR" script.
  3. Go to the "Deployments" subtab and edit the existing scheduled deployment. The name of the deployment will be similar to "eXtendOrders Delete Orphan OIC Records". You can confirm the saved search in use by checking its schedule and parameters.
  4. In the "Parameters" section, locate the "Saved Search Id" parameter.
  5. Update the value with the ID of your newly created saved search.
  6. Save the deployment changes.

Frequently Asked Questions (FAQs)

Q: How often does the Map/Reduce script run to delete OIC records?
A: The frequency depends on the scheduled deployment settings. Check the deployment schedule for the exact timing.

Q: Can I customize the criteria for identifying unused/orphaned OIC records?
A: Yes, you can add additional criteria in the saved search to refine the selection of records for deletion.