Define if it is allowed to use inactive or not-effective engineering versions on transactions.
Steps
Go to Product engineering > Setup > Product engineering parameters.
Choose to allow or block invalid engineering versions on transactions.
Close the page.