Delivery Note --> Create Shipment Delivery note

“Delivery Note Item”: {
“doctype”: “Shipment Delivery Note”,
“field_map”: {
“name”: “prevdoc_detail_docname”,
“parent”: “prevdoc_docname”,
“parenttype”: “prevdoc_doctype”,
“base_amount”: “grand_total”,

},

where the prevdoc_docname, prevdoc_doctype, prevdoc_doctype
How to map the child table fields

parent and parent type we don’t need to map by coding

can you describe a purpose?