# Configure a retention rule

Enable a rule, review its period and unit, and disable it when needed.

## Choose the rule — Shop-ERP

1. Open **Settings → Data retention → Retention rules**. Use your organisation’s approved retention schedule. Screenshot values are fictional examples, not recommended legal periods. The initial example has no saved configuration; the displayed native suggestions are an unsaved starting point.
2. Turn **Unused draft orders** On. Its Keep for and unit controls become editable. Enter **60 Days** in this example; automatic cleanup remains Off.

![Rule enabled with an example period](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-01.png)

## Review and save — Shop-ERP

3. Select **Save**. Review shows **Retention rules · Draft orders · Enabled** Off → On and **Keep for** 90 → 60. Confirm the correct rule and values, then **Confirm changes**. Return to another settings page and reopen Data retention to check the saved 60 Days selection.

![Review of the rule enablement and period](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-02.png)

![Saved rule reopened](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-03.png)

## Change period and unit together — Shop-ERP

4. To change the schedule, edit both Keep for and its unit as needed. The separate example changes **60 Days** to **6 Months**. These are different periods, not a unit conversion. Select Save, review both changes and Confirm changes.

![Review of period and unit](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-04.png)

![Six-month example saved](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-05.png)

> [!NOTE] These steps were checked with the actual application and fictional records in an isolated local preview. Connected persistence, permissions and downstream results remain unverified.

## Disable a rule — Shop-ERP

5. To disable this rule, turn its Status switch Off, select Save and review Enabled On → Off. Confirm changes, then check the period and unit controls are disabled. The saved example values remain visible. No records were cleaned up in this walkthrough.

![Review of disabling the rule](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-06.png)

![Rule disabled after confirmation](https://cms.tickalio.com/api/media/file/erp-configure-retention-rule-07.png)

Last reviewed: 2026-10-29
