Custom script for a button

Good Morning Guys
I am a new in Frappe framework and ERP NEXT.
I have a doctype named Estimation , I want to make a button in Estimation doctype to get submitted like in sales order button that get submitted , i want to have an option to click on make quotation like for ex(in quotation make sales order ) what is the script for this

@doma

Functionality you are expecting is already available. While submit the quotation

If you need any more customization then you might have to write custom script in the application.