Project forecasts for items and hours in AX 2012

Projects in Dynamics AX have come a long way – especially in the assignment of workers to projects. That’s not the topic of this post, but if you’re interested checkout the Technet Identify and assign qualified workers to projects [AX 2012] documentation, or download the two whitepapers: Microsoft Dynamics AX 2012 R2 – Resource scheduling in Project management and accounting and Worker resource scheduling in Microsoft Dynamics AX 2012 R3.

But we’re travelling back in time, to a simpler, earlier age, and we’re going to look at how we can use project forecasts for items and work centre (resource) hours.

I’ve looked at some of the various ways we can issue inventory to projects in an earlier post: Project production orders in AX 2012 R3. Forecasting the items that you’re going to issue to a project is simplicity itself. As in that earlier post I’m working in the Dynamics AX 2012 R3 CU9 demo Hyper-V image. In the USMF company I’ve gone to Project management and accounting > Common > Projects > All projects, and created an ‘Internal’ project


As you can see, on the Plan tab we can create forecasts for Hours, Project expenses, Items, Fees and On account transactions. Incidentally, changing the size and order of these buttons is really easy – see this post. Click on the item forecast button and the familiar (well familiar to me anyway) Item forecast form opens. Click on the New button to create a new forecast:

The system immediately fills in the Forecast model and the Project ID. The default forecast model comes from the Project management and accounting parameters form. You define the default forecast model on the Forecast tab. All forecasts have to be entered into a forecast model. One forecast model is linked to a master plan, and that’s the one that will trigger ordering based upon your project forecast. Forecast models are setup at Inventory management > Setup > Forecast > Forecast models:

Here, I’m using a Sub-model to identify my project item forecasts (and keep them separate from my inventory forecasts). Master planning includes all sub-model forecasts in its calculations, but you can only have one level of parent forecast model and sub-model.

Back on the project item forecast form before I try to enter any forecast lines I’ll use the Inventory > Dimension display form to show Site and warehouse on the Overview grid. All forecasts have to be entered with respect to a warehouse. Now I enter my forecast model, a date (the date I expect to issue the item to the project) and an item number. When you enter the item number the system will fill in the default sales site and warehouse. Finally enter the quantity you plan to issue to the project. Then the system asks me to specify a project category:

Although it’s tempting to click on the Project tab on the forecast and enter the category, it’s smarter to go to the item and set the default category on the item:

This isn’t a mandatory field when you create the item, but well worth setting if you plan to issue items to projects.

Now we’ve got our item forecast – which we can also see at Project management and accounting > Common > Transactions > All project forecasts:

When I run master planning the Item Net requirements form shows the planned demand from the project:

This is all good, except that nothing really identifies this as a project item forecast (as opposed to an inventory sales/demand forecast).

The project Hours forecast form looks slightly different. When I click on the New button I again get the default project model and project ID, so I can enter a date and a category and a number of hours:

Next I’ll click on the Resource requirements tab and define a resource that will provide the hours:

Again this form looks familiar to me – I’m used to setting up the resource requirements on production order route operations like this. There are now (in Dynamics AX 2012) a lot of options for defining how the system can select resources during scheduling – but I’ll stick to the simplest, and assign a single resource (a work centre in old money):

Unlike the item forecast (which is processed by master planning as soon as it’s created) you don’t see the Hour forecast as a capacity reservation on the resource until you schedule the hour forecast. Click on the Scheduling > Resource scheduling button and the Scheduling form appears:

The ‘Scheduling’ parameters look a bit odd, but there are some familiar elements (if you’re used to scheduling production orders), the In/Out options are Forwards and Backwards, the familiar scheduling directions.

However one odd feature here is that the Scheduling date on the Scheduling form is used to schedule the hours forecast – even though the project date is mandatory when you enter the project hours forecast it isn’t used. I’m setting my scheduling date to 14/03/16 and clicking OK. The scheduling tab now shows that capacity reservations have been created by the scheduling:

You can see these on the Scheduling > Capacity reservations form:

Another form that looks familiar to me, from the resource you can see the same display:

And on the References tab you can see that these are Project capacity reservations:

You may have noticed that we’re in the Dynamic master plan – these capacity reservations are copied into the Static master plan the next time you run master scheduling and regenerate the master plan.

Two more things and then we’re done. Firstly, there’s a Line number on the General tab of the Project Hours forecast:

If you have more than one resource to reserve (and of course in a real example you might have) the reservations are made in Line number sequence.

The other thing is that the Edit button displays options for copy, update and delete:

There’s a similar form for the project item forecasts. Use the select button to select the forecast; select the update you want to perform; and OK to process.

There is of course another way to generate capacity reservations for your project and that it simply create an item forecast for a production item with a route – but this option (adding an hours forecast to your project and generating capacity reservations directly for the project) works well for project activities not directly related to production items (for instance plant maintenance, or new product development).