Providing Bank Guarantee to Customers

Hi Experts ERPNext… Need a little bit your help for Bank Guarntee.

As there are two types (receiving /providing) in bank guarntee. So as we chose receiving we can receive bank guarntee from customer aginst sales order only.

  1. How can we get doctypes of Quotation at Bank Guarantee (as Sales Orders)?
  2. How can we provide bank guarntee to customer? (as we receive against sales order)
  3. How can we create payment entry after submitting bank guarantee?

Kindly provide solution with Client Script and screenshots.

Thanks and Regards