Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Check the updated value by using the select command.


Change how often accounting deletes old records

To change the maximum record age of the accounting master table records, set the DeleteRegEventsDeleteHours parameter in accounting_parameters table as desired. 

It is also possible to use the stored procedure parameter as maximum record age by enabling the DeleteRegEventsUseSPParam parameter in accounting parameters, but it is not recommended to use this method.

For example, to keep the data for two years instead of 3.

Code Block
UPDATE accounting_parameters SET paramValue="17520" WHERE paramName="DeleteRegEventsDeleteHours";