This is Dialog box table link field, to fetch the serial number from serial number table.
-
How to avoid the display of row 1, row 2 in grid ?
-
is there any option to apply fetch from - specific field like docType in dialog box link field, Need to show the serial no in 2nd column.
-
is any option to set the width of each column ?
-
Is any option to show the serial no while selecting the ID from link field
{
label: ‘Serial No’,
fieldname: ‘serial_list’,
fieldtype: ‘Table’,
in_place_edit: true,
fields: [
{
label: __("ID "),
fieldname: ‘name’,
fieldtype: ‘Link’,
in_list_view: true,
options: “Serial No”,
change() {
let doc = this.doc;
frappe.db.get_value(‘SKU Serial No’, this.get_value(), ‘serial_no’, function (value) {
doc.serial_no = value.serial_no;
})
},
},
{
label: 'Serial No',
fieldname: 'serial_no',
fieldtype: 'Data',
in_list_view: true,
},
]
},