Work with forms
A form shows one document, for example one Customer or one Sales Invoice. You use a form to create a document, to read it, and to change it.
Create and save a document
- Open the list of the document, for example the Customer list. See Work with lists.
- Select Add Customer. A new form opens.
- Fill the fields. A mandatory field has a red asterisk (
*) next to its label. - Select Save, or press Ctrl+S.
Until you save, the form shows the label Not Saved. After you save, ERPNext gives the document its ID, for example from a naming series such as SINV-.YYYY.-. For a transaction, the label changes to Draft.
Parts of a form
| Part | What it does |
|---|---|
| Tabs and sections | Group the fields. Some fields appear only when another field has a value. |
| Link field | Selects another document, for example the Customer on a Sales Invoice. Type a few letters and select a match. |
| Table | Holds rows, for example the Items of an invoice. Select Add row to add a row. |
| Primary button | The main action at the top right: Save, Submit, or Amend, depending on the state of the document. |
| Create menu | Creates the next document from this one, for example a Sales Invoice from a Sales Order. ERPNext copies the matching fields. |
| Menu (...) | Other actions, such as Duplicate, Rename, Print, Email, Delete, and Reload. |
| Sidebar | Shows assignments, attachments, tags, and the users the document is shared with. |
| Connections | Lists the documents linked to this one, for example the payments against an invoice. |
| Timeline | At the bottom of the form. Shows comments, emails, and every change with its user and time. |
Correct a saved document
You can change a saved document that is not submitted, and save it again. A submitted document is final. To change it, cancel it and amend it. See About submit, cancel, and amend.