Sistema principal de control y flujo lotes