brotherton-erpnext/erpnext/docs/user/manual/en/customize-erpnext/articles/creating-custom-link-field.md

30 lines
1.1 KiB
Markdown
Raw Normal View History

2015-12-24 15:09:53 +00:00
#Creating Custom Link Fields
Links field are the ones linked to another document type. For example, customer field is a link field in Sales Order. This field is linked to the Customer master.
You can insert Custom Link Field by following steps below.
####Step 1: Go to Customize Form
`Setup > Customize > Customize Form`
####Step 2: Select Form
In Customize Form, select Document Type (Quotation, Sales Order, Purchase Invoice Item etc.). Once fields are updated in the accompanying table below, open a field above the one you wish to insert your Custom Field. Then click on "Insert Above" to insert the new Custom Field.
2015-12-24 15:09:53 +00:00
2018-02-07 13:29:06 +00:00
<img alt="Select Docytpe" class="screenshot" src="{{docs_base_url}}/assets/img/articles/link-field-1.gif">
2015-12-24 15:09:53 +00:00
####Step 4: Custom Field Values
To set field as Link, enter values as below.
1. Label: Desired label that user wishes to display in the form.
1. Type: Set as 'Link'
1. Name: Desired name for the field
1. Options: Enter the name of the Doctype to which the field is linked
2018-02-07 13:29:06 +00:00
<img alt="Enter Values" class="screenshot" src="{{docs_base_url}}/assets/img/articles/link-field-2.png">
2015-12-24 15:09:53 +00:00
<!-- markdown -->