[Docs] Updated Documentations

This commit is contained in:
frappe
2017-09-04 14:00:36 +02:00
parent 2225df35f9
commit fdce6a7abd
768 changed files with 3654 additions and 1445 deletions

View File

@@ -0,0 +1,34 @@
<!-- add-breadcrumbs -->
# Customizing visibility of data in the child table
**Question:** Currently, in the child table (like Item table in Quotation), we can view value in the four columns only. How can we have more values previewed in the child table?
**Answer:** In the version 7, we introduced a feature, editable grid. This allowed the user to add values in the child table without opening dialog box/form for each row.
This is how Quotation Item table renders value when Editable Grid is enabled. It will maximum list four columns in the table.
<img alt="Role Desk Permission" class="screenshot" src="/docs/assets/img/articles/child-1.png">
As per the default setting, only four columns are listed in the child table. Following is how you can add more columns in the editable itself.
For the field to be added as a column in the table, enter a value in the Column field. Also, ensure that "Is List View" property is checked for that field.
<img alt="Role Desk Permission" class="screenshot" src="/docs/assets/img/articles/child-2.png">
Based on the value in the Column field, columns will be added in the child table. Ensure that sum total of value added in the Column field doesn't exceed 10. Based on the Column value, width for that column will be set.
<img alt="Role Desk Permission" class="screenshot" src="/docs/assets/img/articles/child-3.png">
**Switch to Un-editable Grid**
To have more values shown in the preview of Quotation Item table, you can disable Editable Grid for the Quotation Item Doctype. Steps below.
<img alt="Role Desk Permission" class="screenshot" src="/docs/assets/img/articles/child-4.gif">
Once Editable Grid is disabled for the Quotation Item, the following is how values will be rendered in a preview of the Quotation Item table.
<img alt="Role Desk Permission" class="screenshot" src="/docs/assets/img/articles/child-5.png">
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/assets/img/articles/child-6.png">

View File

@@ -0,0 +1,20 @@
<!-- add-breadcrumbs -->
# Fetching Data from one Document to Another
**Question:** We track Customer's PO No and PO Date field in the Sales Order. To have these values fetched into Sales Invoice as well, we have inserted Custom Field in the Sales Invoice. However, when we create Sales Invoice from the Sales Order, Customer's PO details are not being fetched.
**Answer:** When data is fetched from one transaction to the another transaction, then the mapping of data is done based on the field names. If two transactions have fields with the exact same name, then it's values are mapped.
For example, if you want Customer's PO No. and PO Date to be fetched from Sales Order to Sales Invoice, then you should ensure that Custom Fields added in the Sales Invoice has an exact same field name as in the Sales Order.
Sales Order (standard fields)
<img class="screenshot" alt="Standard fields in Sales Order" src="/docs/assets/img/articles/fetching-1.png">
Sales Invoice (custom fields)
<img class="screenshot" alt="Custom Field in Sales Invoice" src="/docs/assets/img/articles/fetching-2.png">
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/assets/img/articles/fetching-3.gif">

View File

@@ -14,4 +14,6 @@ search-record-by-specific-field
set-language
set-precision
user-restriction
maximum-numbers-of-fields-in-a-form
maximum-numbers-of-fields-in-a-form
child-table
fetching-data-from-a-document