Magento for B2B Commerce, 2.2.x

Configuring the Archive

Your store can be configured to archive orders, invoices, shipments, and credit memos after a set number of days. You can move orders and their associated documents to the archive, or restore them to their previous state. Archived orders are not deleted and remain available from the AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed.. Archived data can be exported to a CSVComma Separated Values: A type of file used to store data values which are separated from each other by commas. file and opened in a spreadsheet. When enabled, the “Archive” command appears at the top of the workspace.

To configure the order archive:

1. On the Admin menu, tap Stores. Then under Settings, choose Configuration.
2. In the Configuration panel on the left, under Sales, choose Sales.
3. Expand the Orders, Invoices, Shipments, Credit Memos Archiving section. Then, follow the steps below.
Orders, Invoices, Shipments, Credit Memos Archiving
Orders, Invoices, Shipments, Credit Memos Archiving
a. Set Enable Archiving to “Yes.”

If you later decide to turn archiving off, all archived orders will be restored to the previous state.

b. Set Archive Orders Purchased to the number of days to keep an order in the grid before it is archived. By default, this waiting period is set to 30 days.
c. In the Order Statuses to be Archived list, select each order status settings that identifies the orders to be archived. To select multiple items, hod down the Ctrl key, and click each item.
d. When complete, tap Save Config to save the changes. Then when prompted, refresh any invalid cache.
4. On the Admin sidebar, tap Sales. Then, do any of the following: