Text this: Dynamic Control of Quality in Production-Inventory Systems