Hello
Yes, I'm referring to BAdI MD_MODIFY_PRODVERS which was already mentioned by Rupesh. This BAdI is called during the MRP run and you can use it to define your own logic for the production version selection.
If you need to influence the production version selection on the production order, you can find a list of the available BAdIs on the link below:
BAdIs and Exits for production and process orders
BR
Caetano