Cleaning Up System Orders
To improve the performance of the Orders and All Orders screens as well as order queues, you can clean up ZB and PO type orders, which are internal system orders not visible in the UI. This can be done in two ways:
- Configure a periodic automatic clean-up task.
- Run the clean-up task manually when necessary.
To configure Odin Automation to clean up internal system orders:
- Go to Billing > System > Settings > System > Events.
- Find and click Auto Cleanup Internal Orders. Switch to the Scheduler tab.
-
Click Add New Scheduled Task. Complete the fields:
Note: Alternatively, you can also change the settings of the default clean-up task.
- Start Time: Set the start time for system order clean-ups. For example: 01-01-2020 15:00. To start clean-ups immediately, set the value to a date in the past.
- Next Execution Time: Set to the moment at which clean-ups will happen next.
- Execution Interval (Sec): Set the clean-up frequency to your preferred interval in seconds. For example, to run clean-ups once a week, set the value to 604800 seconds.
- Save the changes.
To run clean-ups one time manually:
- Go to Billing > System > Settings > System > Events.
- Find and click Auto Cleanup Internal Orders. In the General tab, click Trigger Event. Complete the Time field with the necessary date-time value; complete the other fields as described in Triggering an Event of a Certain Type.
-
Click Send. After the clean-ups are triggered, the event number will appear in the Event # field. To exit, click Cancel.
Note: The page will not close until you click Cancel. If you click Send again, the clean-up task will be run again and a new even number will appear in the Event # field.