How I CAn Add Multiple button?

Dear All
I want to add Multi Add on this doctype
How i can do that
note: Allow Bulk Edit is activate

Best Regards

@msiam You can do that using the following code…

  • Replace child_table_fieldname with the fieldname of your child table
  • Replace link_fieldname with the name of the link field in your child table
  • Replace qty_fieldname with the name of the quantity field in your child table if exists else replace the string with null
frm.get_field('child_table_fieldname').grid.set_multiple_add('link_fieldname', 'qty_fieldname');
1 Like

it is Working
Thank You

How I can add the event and show the dialog when I pressed the multiple_add button?

@msiam The dialog should appear when you click on the button…

doesn’t appearance

please check your inbox