mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Merge pull request #400 from asbasawaraj/field_types
[Docs] Added Documentation for Table MultiSelect
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 134 KiB |
BIN
foundation/www/docs/assets/img/articles/multi-select-field.png
Normal file
BIN
foundation/www/docs/assets/img/articles/multi-select-field.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
@@ -27,4 +27,6 @@ In the fields section, click on the Custom field and check the **Allow On Submit
|
||||
|
||||
After updating Customize Form, you should reload your ERPNext account. Then check form, and field to confirm its editable in submitted form as well.
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -31,4 +31,6 @@ Once Editable Grid is disabled for the Quotation Item, the following is how valu
|
||||
|
||||
To have specific field's value shown in the preview, ensure that for that field, in the Customize Form tool, "In List View" property is checked.
|
||||
|
||||
<img alt="Role Desk Permission" class="screenshot" src="{{docs_base_url}}/assets/img/articles/child-6.png">
|
||||
<img alt="Role Desk Permission" class="screenshot" src="{{docs_base_url}}/assets/img/articles/child-6.png">
|
||||
|
||||
{next}
|
||||
|
||||
@@ -27,4 +27,6 @@ To set field as Link, enter values as below.
|
||||
|
||||
<img alt="Enter Values" class="screenshot" src="{{docs_base_url}}/assets/img/articles/link-field-2.png">
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -24,4 +24,6 @@ In the Customize Form, you will find these fields.
|
||||
1. Sort Field: Select field based on which sorting will be done. It will be "Item_Code" field in scenario.
|
||||
2. Sort Order: Sort Order will be two possible options, **Asc** for ascending, and **Desc** for descending.
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -21,4 +21,6 @@ Or you can open that report, and delete it from File menu option.
|
||||
|
||||
<img alt="Report Delete" class="screenshot" src="{{docs_base_url}}/assets/img/articles/delete-report-3.png">
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!-- add-breadcrumbs -->
|
||||
#Disable Rounded Total
|
||||
|
||||
All the sales transactions like Sales Order, Sales Invoice has Rounded Total in it. It calculated based on the value of Grand Total. Also Rounded Total is also visible in the Standard Print Formats.
|
||||
All the sales transactions like Sales Order, Sales Invoice has Rounded Total in it. It calculated based on the value of Grand Total. Also Rounded Total is also visible in the Standard Print Formats.
|
||||
|
||||
<img alt="Print Preview" class="screenshot" src="{{docs_base_url}}/assets/img/articles/hide-rounded-total-1.png">
|
||||
|
||||
@@ -18,7 +18,9 @@ Check Disable Rounded Total, and Save Global Defaults.
|
||||
<img alt="Print Preview" class="screenshot" src="{{docs_base_url}}/assets/img/articles/hide-rounded-total-2.png">
|
||||
|
||||
For system to take effect of this setting, you should clear cache and refresh your ERPNext account. Then your print formats shall not render value for the Rounded Total in the print formats.
|
||||
|
||||
|
||||
<div class=well>Note: This setting will only affect Standard print formats.</div>
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -17,4 +17,6 @@ Sales Invoice (custom fields)
|
||||
|
||||
Since names for the Customer's PO related fields are same in the Sales Order and Sales Invoice, when creating Sales Invoice from the Sales Order, values in these fields are auto-fetched.
|
||||
|
||||
<img class="screenshot" alt="Values fetching from Sales Order to Sales Invoice" src="{{docs_base_url}}/assets/img/articles/fetching-3.gif">
|
||||
<img class="screenshot" alt="Values fetching from Sales Order to Sales Invoice" src="{{docs_base_url}}/assets/img/articles/fetching-3.gif">
|
||||
|
||||
{next}
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
|
||||
Following are the types of fields you can define while creating new ones, or while amend standard ones.
|
||||
|
||||
- Attach:
|
||||
- Attach:
|
||||
|
||||
Attach field allows you browsing file from File Manager and attach in the transaction.
|
||||
|
||||
- Button:
|
||||
- Button:
|
||||
|
||||
It will be a Button, on clicking which you can execute some functions like Save, Submit etc.
|
||||
It will be a Button, on clicking which you can execute some functions like Save, Submit etc.
|
||||
|
||||
- Check:
|
||||
|
||||
It will be a check box field.
|
||||
It will be a check box field.
|
||||
|
||||
- Column Break
|
||||
|
||||
Since ERPNext has multiple column layout, using Column Breaks, you can divide set of fields side-by-side.
|
||||
Since ERPNext has multiple column layout, using Column Breaks, you can divide set of fields side-by-side.
|
||||
|
||||
- Currency
|
||||
|
||||
@@ -29,7 +29,7 @@ Data field will be simple text field. It allows entering value upto 140 characte
|
||||
|
||||
- Date and Time
|
||||
|
||||
This field will give you date and time picker. Current date and time (as provided by your computer) is set by default.
|
||||
This field will give you date and time picker. Current date and time (as provided by your computer) is set by default.
|
||||
|
||||
- Dynamic Link
|
||||
|
||||
@@ -38,14 +38,14 @@ Click [here](/docs/user/manual/en/customize-erpnext/articles/managing-dynamic-li
|
||||
- Float
|
||||
|
||||
Float field carries numeric value, upto six decimal place. Precision for the float field is set in
|
||||
|
||||
|
||||
`Setup > Settings > System`
|
||||
|
||||
Setting will be applicable on all the float field.
|
||||
Setting will be applicable on all the float field.
|
||||
|
||||
- Image
|
||||
|
||||
Image field will render an image file selected in another attach field.
|
||||
Image field will render an image file selected in another attach field.
|
||||
|
||||
For the Image field, under Option (in Doctype),field name should be provide where image file is attached. By referring to the value in that field, image will be reference in the Image field.
|
||||
|
||||
@@ -78,7 +78,7 @@ Read Only field will carry data fetched from another form, but they themselves w
|
||||
|
||||
- Section Break
|
||||
|
||||
Section Break is used to divide form into multiple sections.
|
||||
Section Break is used to divide form into multiple sections.
|
||||
|
||||
- Select
|
||||
|
||||
@@ -92,8 +92,14 @@ Small Text field carries text content, has more character limit than the Data fi
|
||||
|
||||
Table will be (sort of) Link field which renders another docytpe within the current form. For example, Item table in the Sales Order is a Table field, which is linked to Sales Order Item doctype.
|
||||
|
||||
- Table MultiSelect
|
||||
|
||||
This is a combination of 'Link' type and 'Table' type fields. Instead of a child table with 'Add Row' button, in one field multiple values can be selected.
|
||||
|
||||
- Text Editor
|
||||
|
||||
Text Editor is text field. It has text-formatting options. In ERPNext, this field is generally used for defining Terms and Conditions.
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -4,4 +4,6 @@ Geolocation is a field type offered by Frappe Framework. This field allows you t
|
||||
|
||||
This is a field type used in the Agriculture module, in the Land and Land Unit master.
|
||||
|
||||
<img alt="Signature field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/geolocation-field.gif">s
|
||||
<img alt="Signature field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/geolocation-field.gif">
|
||||
|
||||
{next}
|
||||
|
||||
@@ -10,7 +10,7 @@ Let's assume we need to update Max Attachment for Quotation to five.
|
||||
`Setup > Customize > Customize Form`
|
||||
|
||||
#### Step 2: Select Document Type
|
||||
|
||||
|
||||
<img alt="Select Doctype" class="screenshot" src="{{docs_base_url}}/assets/img/articles/max-attachment-1.png">
|
||||
|
||||
#### Step 3: Set Limit
|
||||
@@ -23,4 +23,6 @@ After update Max Attachments, Update Customization Form. Reload your ERPNext acc
|
||||
|
||||
<div class="well">Note: Maximum limit/size of an attachment is 1MB.</div>
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -16,6 +16,7 @@ set-precision
|
||||
user-restriction
|
||||
maximum-numbers-of-fields-in-a-form
|
||||
child-table
|
||||
table-multiselect
|
||||
fetching-data-from-a-document
|
||||
signature-field
|
||||
geolocation-field
|
||||
geolocation-field
|
||||
|
||||
@@ -26,3 +26,5 @@ click to open field to be made visible in the Standard Print Format. Uncheck **P
|
||||
#### Step 4: Update
|
||||
|
||||
Update Customize Form to save changed. Reload your ERPNext account, and then check Print Format for confirmation.
|
||||
|
||||
{next}
|
||||
|
||||
@@ -9,7 +9,7 @@ Report Builder is an in-built report customization tool in ERPNext. This allows
|
||||
|
||||
<div class="embed-container">
|
||||
<iframe src="https://www.youtube.com/embed/TxJGUNarcQs?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen>
|
||||
</iframe>
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
### 2. Query Report
|
||||
@@ -20,8 +20,10 @@ Check Purchase Order Item to be Received report in Stock module for example of Q
|
||||
|
||||
### 3. Script Report
|
||||
|
||||
Script Reports are written in Python and stored on server side. These are complex reports which involves logic and calculation. Since these reports are written on server side, customizing it from hosted account is not possible.
|
||||
Script Reports are written in Python and stored on server side. These are complex reports which involves logic and calculation. Since these reports are written on server side, customizing it from hosted account is not possible.
|
||||
|
||||
Check Financial Analytics report in Accounts module for example of Script Report. Click [here](https://frappe.io/docs/user/en/guides/reports-and-printing/how-to-make-script-reports.html) to learn how to create Script Report.
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -46,4 +46,6 @@ This field will allow selecting document id, based on value selected in the Doct
|
||||
By default, Docytpe link field will provide all the forms/doctypes for selection. If you wish this field to show certain specific doctypes in the search result, you will need to write Custom Script for it.
|
||||
</div>
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -22,4 +22,6 @@ In Frappe frapework, `VARCHAR(140)` type columns are created based on "Data", "L
|
||||
To add more fields in the system, you can do some changes.
|
||||
|
||||
1. Convert some of the fields to "Text", "Small Text", "Text Editor" or "Code" type field. In MySQL, BLOB and TEXT columns count from one to four plus eight bytes each toward the row-size limit because their contents are stored separately from the rest of the row. So, converting to those fieldtypes will free up some spaces and will allow to add some more fields.
|
||||
2. Set smaller value in the "Length" property while creating fields, default value is 140. System sets length of `VARCHAR` based on this property and allocates size for that columns. Hence, smaller Length leads to add more fields.
|
||||
2. Set smaller value in the "Length" property while creating fields, default value is 140. System sets length of `VARCHAR` based on this property and allocates size for that columns. Hence, smaller Length leads to add more fields.
|
||||
|
||||
{next}
|
||||
|
||||
@@ -17,4 +17,6 @@ Ensure Website module is checked. If you just enabled/activated it, update Show/
|
||||
|
||||
On the same lines, you can check for the visibility issue of other modules as well.
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -17,4 +17,6 @@ Or
|
||||
|
||||
After executing one of the above step, you should be able to successfully add new permissions rules in the Role Permission Manager.
|
||||
|
||||
<!-- markdown -->
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -25,4 +25,6 @@ While creating transaction, to get filtered result for Customer, you should firs
|
||||
|
||||
<img alt="Search By in Customize Form" class="screenshot" src="{{docs_base_url}}/assets/img/articles/search-by-2.png">
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -40,4 +40,6 @@ Save System Settings, and refresh your EPRNext account. On refreshing, you shoul
|
||||
<img alt="Select Language" class="screenshot" src="{{docs_base_url}}/assets/img/articles/set-language-2.gif">
|
||||
|
||||
Note: For now, we have translation available only for few languages. You can contribute to make translation better, and add new languages from [here](https://translate.erpnext.com).
|
||||
<!-- markdown -->
|
||||
|
||||
{next}
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -15,5 +15,7 @@ You can also set field specific precision. To do that go to `Setup > Customize >
|
||||
|
||||
<img alt="Field-wise Precision" class="screenshot" src="{{docs_base_url}}/assets/img/articles/precision-2.png">
|
||||
|
||||
{next}
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
<!-- markdown -->
|
||||
|
||||
@@ -4,4 +4,6 @@ Signature is a field type offered by Frappe Framework. This field allows you to
|
||||
|
||||
<img alt="Signature field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/signature-field.gif">
|
||||
|
||||
This field can be used for taking a digital sign-off internally or with an external party, like customers and suppliers.
|
||||
This field can be used for taking a digital sign-off internally or with an external party, like customers and suppliers.
|
||||
|
||||
{next}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
# Table MultiSelect
|
||||
|
||||
Table MultiSelect field is very similar to Link Field. The key difference is Table MultiSelect field allows you to select multiple values.
|
||||
|
||||
You may like to assign a 'ToDo' to multiple users as shown below.
|
||||
|
||||
<img alt="Table MultiSelect Field" class="screenshot" src="{{docs_base_url}}/assets/img/articles/table-multiselect-field.png">
|
||||
|
||||
|
||||
You can add a Table MultiSelect Field by following below steps.
|
||||
|
||||
####Step 1: Create a child DocType.
|
||||
|
||||
Create a new DocType, check 'Is Child Table' and 'Editable Grid' checkboxes and add a field with 'Link' type as shown below.
|
||||
|
||||
<img alt="DocType for Table MultiSelect" class="screenshot" src="{{docs_base_url}}/assets/img/articles/doctype-for-table-multi-select.png">
|
||||
|
||||
|
||||
|
||||
|
||||
####Step 2: Add a field with type 'Table MultiSelect'.
|
||||
|
||||
Create a field with type 'Table MultiSelect' and add the DocType created in first step in 'options'.
|
||||
|
||||
<img alt="Field with type Table MultiSelect" class="screenshot" src="{{docs_base_url}}/assets/img/articles/multi-select-field.png">
|
||||
|
||||
You can remove any selected value by clicking on the cross sign next to selected value or by placing the cursor to pressing Backspace
|
||||
|
||||
{next}
|
||||
@@ -18,3 +18,5 @@ Select Document Type for which you want to set user permission. After permission
|
||||
For Role to be restricted (Sales User in this case), check "If Owner".
|
||||
|
||||
<img alt="S" class="screenshot" src="{{docs_base_url}}/assets/img/articles/owner-restriction-2.png">
|
||||
|
||||
{next}
|
||||
|
||||
Reference in New Issue
Block a user