How I Get The Total Price in This Case? "DocType"

What i need to do is calculate (Price × QTY) to Get Total Price

Hi @eslam.saied1994,

If Print Mission is parent doctype then apply custom/client script.

frappe.ui.form.on("Print Mission", {
    qty: function(frm) {
        frm.set_value('total_price', frm.doc.qty * frm.doc.price);
    },
    price: function(frm) {
        frm.set_value('total_price', frm.doc.qty * frm.doc.price);
    }
});

If Print Mission is a child doctype then check it.

Thank You!

thanks soooo much, it’s working now
image