For instance, consider you have 10 quotes: 3 for Mr. John, 2 for Ms. Alice, and 5 for Ms. Cassie. When you select all these quotes and click the button, it will group the quotes by customer and generate three separate sales orders, one for each customer.
1. Create a
Connection named
"zbooks" to successfully execute the function. You can watch the GIF attached below to know how to create the connection.

2. Create a custom field called
"Quote#" to be displayed in the item table of Quotes. This field will be populated with the quote number from which the respective item was added.

Custom Button:
Go to Settings -> Sales -> Quotes -> Custom Buttons -> Click +New and Choose "New Custom Button". Populate the details as mentioned below:
1. Name - Give a suitable name (e.g., Convert to SO).
2. Visibility - Select the option that aligns with your preference for granting users access to the custom button.
3. Location - Choose "List Page - Bulk Action Menu".
Once done, add the script from this
GitHub link -> Save.