Link of Delivery Note Items

Help me please guys.

I create my doc type and want to see in my doc type - all items from Delivery Note.

I can’t understand how to do this.

Now I see empty Table with Delivery Note Items.

I expected to see Items from Delivery Note

that doesn’t work that way. If you want to autofill items you need to create a custom script that onload will populate items

Could you please give me some example?

go to custom scripts

frappe.ui.form.on("YOUR_DOCTYPE", "target_field", function(frm) {{
        method: "",
        args: {
            "arg1": frm.doc.target_field
        callback: function (r) {
             //populate your child table here


create python script
your r should return items from your method.
I’m pretty sure that there’s a better way doing this without creating python file. You can research for other methods, I would suggest looking at the docs for available functions in javascript

Thank you for your example!!

Oh is too hard for me

I am try to find some manual for client side scripting - find only example

I can’t understand linking between Doc Types (
Some magic
If you know some good manual or video - please share with me