Version: eXtendPS-DE 1.3.1 and above
Audience: Administrator
Overview
For auditing purposes, eXtendPS-DE generates log records when you use PromoStandards services such as item constitution, placing integrated purchase orders, or consuming vendor invoices. eXtendPS-DE has a configuration option to automatically delete old log records and custom invoice records according to a configurable schedule. For instance, you can choose to delete all log records and custom invoice records every 60 days on weekends.
Instructions for configuring the eXtendPS-DE Delete Invoice Record Map/Reduce script are provided in the following sections.
Saved Search Creation
To enable automatic deletion of log records and custom invoice records, you will need to create saved searches for each record type. These saved searches will filter down to the records that will be sent to the script for deletion.
- Custom Invoice Record
To filter the custom invoice records (eXtendPS-DE Invoice Response custom record) and automatically delete specific results, you need to create a saved search. A sample saved search called eXtendPS-DE Invoice Record Delete[B] is provided for reference. You can make a copy of this search and modify its criteria according to your requirements. - eXtendTech Log Details
To filter the log details records (eXtendTech Log Details custom record) and automatically delete specific results, you need to create a saved search. A sample saved search called eXtendTech Log Details Delete[B] is provided for reference. You can make a copy of this search and modify its criteria according to your requirements. - eXtendTech Logs
To filter the log records (eXtendTech Logs custom record) and automatically delete specific results, you need to create a saved search. A sample saved search called eXtendTech Logs Delete[B] is provided for reference. You can make a copy of this search and modify its criteria according to your requirements.
Script Deployment Creation
You will need to create a scheduled script deployment of the eXtendPS-DE Delete Invoice Record Map/Reduce script to delete the custom invoice, log details, and log records on a scheduled basis.
- Find and view the "eXtendPS-DE Delete Invoice Record" script.
- Click Deploy Script button to create a new script deployment.
- Specify the title for the script deployment, change the status to scheduled, and log level to audit. Specify the scheduling options based on your requirements.
- In the parameters subtab, specify values against the fields as described below:
- Search IDs
Specify the saved search ids, separated by comma (,), up to a maximum of two saved searches for the records you want to include for deletion. - Email Receiver
Specify the email addresses, separated by comma (,), of email recipients who will receive email notifications regarding the record deletions. - Email Author
Select an employee who will be used for sending record deletion email notifications. - Save the script deployment.
- Repeat these steps to schedule additional record deletions.
Note: If you want to delete eXtendTech Logs records, you must also first delete the eXtendTech Log Details records since the eXtendTech Log Details is a child record of the eXtendTech Logs record.