brotherton-erpnext/docs/user/customize/docs.user.customize.custom_field.md

27 lines
1.0 KiB
Markdown
Raw Normal View History

2013-06-10 13:06:58 +00:00
---
{
"_label": "Custom Field"
}
---
A very common customization is adding of custom fields. You can add Custom Fields in any Master or Transaction in ERPNext. To add a Custom Field, go to:
> Setup > Custom Field > New Custom Field
2013-10-17 06:14:31 +00:00
![Custom Field](img/custom-field.png)
2013-06-10 13:06:58 +00:00
In the form:
- Select the Document on which you want to add the Custom Field.
2013-10-17 06:14:31 +00:00
- Select the Type of field and the Options .
2013-07-24 10:47:57 +00:00
- Select where you want the field to appear in the Form (“after field” section).
2013-06-10 13:06:58 +00:00
and save the Custom Field. When you open a new / existing form of the type you selected in step 1, you will see it with the Custom Fields.
2013-10-17 06:14:31 +00:00
To understand Custom Fields in detail, visit [DocType-Fields](docs.user.knowledge.doctype_fields.html)
2013-06-10 13:06:58 +00:00
#### Naming
Many times you want your fields to be carried over from one form to another. For example, you may have added a Custom Field in Quotation that you want to include in Sales Order when a Sales Order is created from the Quotation. This is simple in ERPNext, just make sure the fields have the same “fieldname”