How to make a quotation record from material receipt entry

@arpanzen

You can maintain your code/function in custom app and call custom function using custom script or hook.

for populating data in child table:
reference I
reference II