Get the object of current active doctype

Hello,

How to get the object of my current doctype?

For example, currently, i am in quotation doctype.
So, I want to create one object of the quotation doctype.

I have tried get_doc(). But the lack of knowledge of some erpnext fundamentals, I cant able to create the object.

So I want to help from your side.

I don’t understand your use case or what do you want to achieve, maybe you can elaborate more?

This page is good reference if you didn’t know about it: Developer Cheatsheet · frappe/frappe Wiki · GitHub