> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fentufsm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trash

> Managing deleted records and data recovery

<img src="https://mintcdn.com/fentu/hwQj1zN52k4D8yBe/images/fentu-fsm/administration/trash.png?fit=max&auto=format&n=hwQj1zN52k4D8yBe&q=85&s=9f94990e43483c7a6a8165dc8f4a6683" alt="Trash View" width="1280" height="720" data-path="images/fentu-fsm/administration/trash.png" />

## Overview

The Trash holds deleted records before permanent removal. This provides a safety net for accidental deletions and allows recovery of data within a retention period.

<Note>
  Deleted records remain in Trash for a configurable period before automatic permanent deletion. Restore records before this period expires.
</Note>

## When to Use Trash

Access Trash to:

* **Recover Deleted Records** - Restore accidentally deleted items
* **Review Deletions** - See what has been deleted recently
* **Permanent Deletion** - Remove records permanently
* **Compliance** - Ensure proper data disposal
* **Clean Up** - Empty trash to free up space

***

## Trash Contents

The Trash contains deleted records from:

| Record Type     | Example                   |
| --------------- | ------------------------- |
| **Customers**   | Deleted customer accounts |
| **Contacts**    | Removed contact records   |
| **Work Orders** | Deleted work orders       |
| **Products**    | Removed product records   |
| **Parts**       | Deleted parts             |
| **Assets**      | Removed equipment records |
| **Technicians** | Deleted workforce records |
| **Other**       | Any soft-deleted data     |

### Trash Record Information

Each deleted record shows:

| Field              | Description                   |
| ------------------ | ----------------------------- |
| **Record Type**    | What kind of record           |
| **Record Name**    | Identifying information       |
| **Deleted By**     | Who deleted it                |
| **Deleted Date**   | When it was deleted           |
| **Days Remaining** | Time until permanent deletion |

***

## Restoring Records

<Steps>
  <Step title="Navigate to Trash">
    Go to Administration > Trash
  </Step>

  <Step title="Find Record">
    Search or browse for the deleted record
  </Step>

  <Step title="Select Record">
    Choose the record(s) to restore
  </Step>

  <Step title="Click Restore">
    Restore selected records
  </Step>

  <Step title="Verify Restoration">
    Confirm record is back in the system
  </Step>
</Steps>

### Restoration Considerations

When restoring records:

* **Related Records** - Relationships may need reconnecting
* **References** - Other records may have been updated
* **Duplicates** - A replacement may have been created
* **Permissions** - Verify you can restore that record type

<Warning>
  Restored records may not have all original relationships intact. Review restored data and reconnect relationships as needed.
</Warning>

***

## Permanent Deletion

### Automatic Permanent Deletion

Records are permanently deleted after:

| Setting                  | Typical Value |
| ------------------------ | ------------- |
| **Default Retention**    | 30 days       |
| **Extended Retention**   | 90 days       |
| **Compliance Retention** | As required   |

### Manual Permanent Deletion

To delete permanently before retention period:

<Steps>
  <Step title="Navigate to Trash">
    Go to Administration > Trash
  </Step>

  <Step title="Select Records">
    Choose records to permanently delete
  </Step>

  <Step title="Click Permanent Delete">
    Initiate permanent deletion
  </Step>

  <Step title="Confirm Deletion">
    Confirm you want to permanently delete
  </Step>
</Steps>

<Warning>
  Permanent deletion cannot be undone. Double-check before confirming permanent deletion.
</Warning>

### Empty Trash

To delete all items in trash:

1. Click "Empty Trash"
2. Confirm the action
3. All records are permanently deleted

<Info>
  Empty Trash is typically restricted to administrators. This prevents accidental mass deletion.
</Info>

***

## Retention Settings

### Configuring Retention

| Setting                 | Description                               |
| ----------------------- | ----------------------------------------- |
| **Default Period**      | Days before auto-deletion                 |
| **Per-Type Period**     | Different retention for different records |
| **Compliance Override** | Extended retention for regulated data     |
| **Immediate Delete**    | Option to bypass trash                    |

### Retention Best Practices

* Set retention based on recovery needs
* Consider compliance requirements
* Balance storage costs vs recovery needs
* Document retention policies

***

## Searching Trash

### Search Options

| Filter          | Purpose                               |
| --------------- | ------------------------------------- |
| **Record Type** | Show only specific types              |
| **Deleted By**  | Find records deleted by specific user |
| **Date Range**  | Find records deleted within period    |
| **Record Name** | Search by name or identifier          |

### Finding Specific Records

1. Apply type filter if you know the record type
2. Search by name or ID
3. Filter by deletion date if known
4. Check "Deleted By" if you know who deleted it

***

## Audit Trail

### Deletion Logging

All deletions are logged with:

* Who deleted the record
* When it was deleted
* From where (module)
* Record details

### Restoration Logging

Restorations are logged with:

* Who restored the record
* When restored
* How long it was in trash

### Compliance

Logs support:

* Audit requirements
* Compliance reporting
* Security investigations
* Change tracking

***

## Best Practices

<AccordionGroup>
  <Accordion title="Review Before Deleting" icon="eye">
    Check records carefully before deletion. Prevention is better than recovery.
  </Accordion>

  <Accordion title="Check Trash Regularly" icon="calendar">
    Periodically review trash for accidentally deleted items before they're permanently removed.
  </Accordion>

  <Accordion title="Set Appropriate Retention" icon="clock">
    Configure retention periods based on your recovery needs and compliance requirements.
  </Accordion>

  <Accordion title="Limit Delete Permissions" icon="lock">
    Restrict who can delete records. Fewer people with delete access means fewer accidents.
  </Accordion>

  <Accordion title="Don't Use as Archive" icon="archive">
    Trash is for recovery, not archiving. Don't delete records to "archive" them.
  </Accordion>

  <Accordion title="Document Policies" icon="file-alt">
    Document your retention and deletion policies. Ensure compliance with regulations.
  </Accordion>
</AccordionGroup>

***

## Common Questions

<AccordionGroup>
  <Accordion title="Can I restore records after the retention period?" icon="question">
    No. Once permanently deleted, records cannot be recovered. Restore before the retention period expires.
  </Accordion>

  <Accordion title="What about related records when I restore?" icon="question">
    Related records aren't automatically restored. You may need to restore multiple records or reconnect relationships.
  </Accordion>

  <Accordion title="Does trash count against storage?" icon="question">
    Yes, deleted records in trash still consume storage. Empty trash to reclaim space.
  </Accordion>

  <Accordion title="Can I export records from trash?" icon="question">
    Typically no. Restore records first, then export from the main system.
  </Accordion>

  <Accordion title="Who can access trash?" icon="question">
    Depends on permissions. Typically administrators and users with restore permissions.
  </Accordion>

  <Accordion title="Can I bypass trash and delete immediately?" icon="question">
    If configured, some deletions can bypass trash. This is typically restricted for safety.
  </Accordion>
</AccordionGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="User Management" icon="users" href="/administration/users/user-management">
    Delete permissions
  </Card>

  <Card title="System Settings" icon="cog" href="/administration/settings/system-settings">
    Retention configuration
  </Card>

  <Card title="Export" icon="download" href="/administration/data/export">
    Exporting before deletion
  </Card>

  <Card title="Profiles" icon="shield-alt" href="/administration/users/profiles-roles">
    Permission configuration
  </Card>
</CardGroup>
