Add row into child table in another DocType with custom script

try this: