Skip to content

Lifecycle

Every business object has a status that says where it is in its life.

Status What it means
Draft Being written. Not numbered, not listed, not used anywhere.
Active In use. Shown without a badge.
Archived Retired from lists and pickers, but kept.

Documents also have their own progress beside the status, such as a sales order’s Execution (Open, Completed, Cancelled) or a fulfillment order’s Phase. See Sales order status and Fulfillment.

Sales orders and sales invoices start as drafts. Everything else is created active, including cancellation invoices, correction invoices and fulfillment orders.

  • A draft has no number. The number is assigned at release.
  • A draft does not appear in lists. It is reached by its own link, which is why Save as draft opens the draft straight away.
  • A draft may be incomplete. Required fields and checks wait until release, so a half-filled order can be saved and finished later.
  • A draft has no effect. It moves no stock, starts nothing and has no history.

A draft is deleted with More actions (⋮) → Delete, and is then gone for good.

Release turns a draft into an active document. At that moment:

  • every required field and every check runs; a draft that fails one is refused with the reason and stays a draft;
  • the document takes its next number from the number series of its sales channel, else of its seller;
  • its actions become available, and other business objects can refer to it.

Release cannot be undone. A released document is permanent: it can never be archived or deleted, because it is part of the business record. A mistake is corrected with an opposite document. See Cancel an invoice and Record a movement.

A form is read-only for one of three reasons: the document is locked in its current state, your role cannot edit it, or it is archived.

When a document locks depends on the document. A sales invoice, a goods movement and a reservation movement lock at release. A sales order locks when it leaves Open, and a fulfillment order when it is reserved. Values OnERP keeps itself, such as an order’s invoiced quantities, still change on a locked document. See What a document freezes.

Master data and settings are archived rather than deleted. More actions (⋮) → Archive:

  • removes it from lists and pickers, so nobody chooses it by accident;
  • keeps every document it already appears on unchanged;
  • is reversed with Restore.

Show archived on a list shows archived entries again. See Lists.

An active business object cannot be deleted. Archive it first; Delete is then offered on the archived one and removes it for good. A business object that others still refer to cannot be deleted, and the message names what refers to it.