Yes, forecasting functionality (Procurement -> Forecasting) allows you to enter your predicted sales numbers and will calculate material requirements for the production. You can directly generate ‘Purchase Orders’ and ‘Manufacturing Orders’ from the forecast.
If you are using an ‘Enterprise’ package, you can enter a ‘Due’ date when these items need to be in stock. In that case, the software will use backward scheduling to plan ‘Manufacturing Orders’ to finish just in time. Also, it will indicate the last order dates for raw materials, so that they can arrive just in time.
Read more about manufacturing and procurement forecasting.