A project scheduling approach to production and materialrequirement planning in Manufacturing-to-Order environments