Stock entry - Batch Creation

Hello, I am doing automatic batch creation in “Stock Entry”, i want to pass 1 custom field from stock entry to batch . do you know how to do it? pls help

Looking for the same feature.

Not sure if it will work exactly the same but I have the following code to transfer information from custom fields in the Purchase Receipt Item child table to custom fields in the Batch DocType.

Might well work with a bit of adjustment.