Purges the error history at the package level. The purge can be done synchronously or asynchronously.
void purgeErrorHistory(ErrorHistoryPurgeOptionVO purgeOption, Boolean synchronous) throws SUPAdminException;
If successful, purges the error history using current settings. If unsuccessful, returns SUPAdminException.
ErrorHistoryPurgeOptionVO purgeOption = new ErrorHistoryPurgeOptionVO(); purgeOption.setDaysToPreserve(10); suppkg.purgeErrorHistory(purgeOption, false);