Skip to main content

Import history data clean up​

ExFlow | Periodic tasks | Clean up | Import history data clean-up

Purpose​

The Import History Data Clean-up process focuses on managing the XML files associated with invoices in the import history. This batch aims to enhance database efficiency by cleaning up unnecessary XML data.

Step by step process​

Invoice history batch data clean-up​

  • Go to ExFlow – Periodic tasks – Clean up – Import history data clean-up.
  • Input days which are required for the clean up in the History limit(days).
  • Enable Batch processing.
  • Select OK

After batch processing is completed lines in line history is deleted.

medium


Class​

EXF_cImportTableLogCleanUp

Affected tables​

  • EXF_tImportTableLog - only the XML and XMLRaw field contents are cleared; the record itself remains.

Functional explanation​

The job clears the XML and raw XML content from import history records older than the history limit. The import history record is retained, so users can still see that the import occurred, but the detailed XML payload is no longer available.

Important note The default history limit is 30 days. No records are deleted, and the XML-only behavior is fixed for this job.

NameClassAffected Table
ExFlow AP - Log cleanupEXF_cLogCleanupEXF_tLoggingWeb
EXF_tDocumentLineApproverLog
EXF_tDocumentLineDimensionLogHead
EXF_tDeletedLinesInvoiceHistory
ExFlow AP - Import history data cleanupEXF_cImportTableLogCleanUpEXF_tImportTableLog (Only the contents of the XML / XMLRaw fields are cleaned for old records)
ExFlow AP - Web log cleanupEXF_cWebLogCleanupEXF_tLoggingWeb
ExFlow AP - Invoice line history cleanupEXF_cInvoiceLineHistoryLogCleanupEXF_tDocumentLineApproverLog
EXF_tDocumentLineDimensionLogHead
EXF_tDeletedLinesInvoiceHistory
ExFlow AP - Delete temporary journals separatelyEXF_cNoPostingAtArrivalDeleteTempJournalsLedgerJournalTable (Related journal transaction data is deleted indirectly through the standard LedgerJournalDeleteTransaction process)
ExFlow AP - Clean up duplicate attachmentsEXF_cDocuRefCleanupDocuRef