Add additional item fields into Sales Invoice Item Detail

Hi,

I have a requirement in which I need to add more Item Fields into Sales Invoice Item (Details). Example, Country of Origin that is already located in Items I need it to show up on Print Document.

I ready somewhere that if you have the exact same column name in both the Item Doctype and Sales Invoice Item Doctype that it should do so automatically.

But its comming up blank. Is there any way to do this through Doctype Custom Form or do I need to have a code to bring the additional data into view.

frappe.ui.form.on('Material Request', {
    schedule_date: function(frm,cdt,cdn){
                changeScheduleDateOfChildTable(cur_frm.doc.items, cur_frm.doc.schedule_date)
    }
}

function changeScheduleDateOfChildTable(childTable,scheduleDate) {
    if(childTable != undefined) {
        for (var i = 0; i < childTable.length; i++) {
            childTable[i].schedule_date = scheduleDate;
            cur_frm.refresh_fields("schedule_date");
        }
    }
}

In my case schedule date is common in DocType and Child Table. So, on change in Parent field(DocType filed) I have put the logic and set the value of **child table field(schedule_date) **.

Thanks
Rohan Jain.