Purge External Purchase Prices Interface Data

Use the Purge External Purchase Prices Interface Data scheduled process to purge interface table data and the corresponding records in error tables.

When to Use

Schedule the process to selectively delete records based on criteria such as deleting only records with error or deleting all records in the interface table.

Privileges Required

  • Delete External Purchase Prices Interface Data (SCH_DELETE_EPP_INTERFACE_DATA_PRIV)

Specifications

Review these specifications before you set up the scheduled process.

SpecificationDescription
Job TypeAd hoc job or scheduled

This process can be scheduled or submitted manually to delete interface records. However, scheduled runs should typically be for clearing records that have been in error for a long time.

FrequencyThe process should be scheduled to run according to the frequency with which the interface data is populated.
Time of DayAfter work hours or during weekends.
DurationVariable, based on the total number of records being purged.
CompatibilityThere should be only one instance of the job running at any time and, there's no current functional need to run multiple instances of this process simultaneously.

This process is automatically placed on hold when the Import Purchase Agreements from External Purchase Prices scheduled process is running. It automatically resumes after the earlier process is completed.

Parameters

ParameterOptional or RequiredDescriptionParameter ValuesSpecial Combinations RequiredNotes
Source OrganizationRequired

Specify the unique identifier or code or name of the organization in the source system for which you want to purge document interface records.

Source organization code or identifierNoneN/A
Source Contract NumberOptionalSpecify the source contract number for the external purchase price.Source contract numberNoneN/A
Source Contract ReferenceOptionalSpecify the unique identifier for the header record in the source system.Unique identifier for the header recordNoneN/A
Creation Start DateOptionalA date used to verify if the interface record was created after the start date specified.CalendarNoneN/A
Creation End DateOptionalA date used to verify if the interface record was created before the end date specified.CalendarNoneN/A
Batch IDOptionalEnter the batch ID corresponding to the set of records in the interface table that need to be retrieved for purging.Value of the batch IDNoneN/A
Deletion typeRequiredSpecify Delete records in error to delete only records in error. Specify Delete all records to delete all records, irrespective of whether they're in error or not.Delete records in error or Delete all recordsNoneDefault value is Delete records in error

Troubleshooting Information

  • Use the 'Delete all records' value for the Deletion type parameter thoughtfully to avoid deleting necessary records without any errors.
  • The process will remove related records from the SCH_EPP_HEADERS_INT, SCH_EPP_LINES_INT, and SCH_EPP_ERRORS tables based on your criteria.
  • Always verify the parameters before purging, as deleted data can't be recovered.