I finished a program for production planning and optimization, it will be published on internet soon.
The program imports data about products, bills of materials, orders and material stocks from ERP systems such as SAP R/3 and get you tools for interactive simulation of production orders, materials shortages etc. You can play with bills of materials, materials stocks etc adn immidiately see what you can produce and what you can't produce and why. It enables interactive simulation of different production scenarios. It is intended to boost production planning in dynamic manufacturing companies that have lot of products, small batches, often change production schedules and priorities or have other problems with production planning on daily basis.
It is accomplished with Lazarus/Firebird embedded/ZeosLib.
Regards,
Zlatko