BeyondERP.Newsletter
Menu

TC-OA-DOC-030 · Test case

Deleted attachment can be recovered

A test you can run to check that the setup below works.

How to run the test

Before you start
  1. Deferred deletion enabled = Yes
  2. The batch job Scans for deleted references which have reached the end of their retention period exists
Steps
  1. Attach a file to a vendor
  2. Delete the attachment
  3. Open Attachments > Deleted attachments
  4. Restore the file
Expected resultThe attachment is back on the vendor and Document history shows the deletion and the restore.
What should failWith Deferred deletion enabled = No, the deleted attachment is not listed under Deleted attachments and can't be restored.

Setup it checks

Atlas Hub