[fix]Production plans:Use attrition ratenot being used when creating the production build[fix]Production plans:Use alternatesnot being used when checking for missing inventory[fix]Sales orders: items had to be removed twice to fully be removed from the table