Get batch no based on FIfO

I know this has been asked many times. But still I can’t figure out how to get batch no automatically on sales invoice based on fifo.

Any example reference to start with?

2 Likes

Did you ever resolve this?