Thursday, June 14, 2018

LS NAV - Delete Logs, Clear Logs Manually, Logs take too long to delete


  • Scheduled Job - DELETELOGS should be scheduled to run nightly, after other important tasks are done
    • Scheduler Setup controls how many days of each to keep
  • Run C99001486 - DeleteLogs
    • Tables that can be cleared
      • Preaction
      • Action
      • Scheduler Log
      • Preaction Log
  • POS Functionality Profile-General-Days Transaction Exists
    •  has the number of days to keep logs. Anything older will be purged on login if the user says "yes" to purge

2 comments:

  1. Hi CowMaster, I have issue run this codeunit need very long time to finish. any idea?

    ReplyDelete
    Replies
    1. Use SQL to delete records, or TRUNCATE the specific table to clear all data quickly.

      Delete