►Archives
OLIB includes an archiving facility which enables you to move completed or cancelled orders (and associated order items) and completed invoices (and associated invoice items) from the live system to an archive database.
A system level parameter defines the number of days from when an order was entered to when it is automatically archived once the order is flagged as Complete or Cancelled. When this parameter is set, an overnight process identifies which orders are due to be archived, copies them and their associated order items into an archive database and deletes them from the live system.
Similarly, a system-level parameter defines the number of days from when an invoice was entered to when it is automatically archived once it is flagged as Complete. When this parameter is set, an overnight process identifies which invoices are due to be archived, copies them and their associated invoice items into an archive database and deletes them from the live system.
Note: An appropriate archive setting would be 730, i.e. archive complete/cancelled orders and completed invoices two years after they were entered once they are flagged as completed/cancelled.
These domains operate like the standard Orders, Order Items and Invoices domains for searching, filtering, sorting, displaying records, etc., except that the search options are more limited and it is not possible to add or edit records.
Archived order items and invoices are also visible in the Account Instances domain, in the Order Items and Invoices sheets.
To 'un-archive' a record:
The un-archived item will then be visible in the Orders, Order Items, Invoices domain.