Advanced Planing System for production scheduling