Hi experts, 

I want to move the creation of batch number in production order from report as finished status to release status. I tried to configure the tracking number group, however it creates batch number even before the release. Does anyone know what class or form code is responsible for creating batch numbers in production order so that I can customize it? Thanks for your support.