次の方法で共有


Customizing the Resource Scheduling Engine

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

You use resource scheduling to plan production orders, based on resources and their capabilities and when those resources are available. Resource scheduling in Microsoft Dynamics AX consists of two parts:

Pre- and post-processing code

This is X++ code that is used for interfacing Microsoft Dynamics AX with the resource scheduling engine. The scheduling engine code is contained in a Microsoft .NET assembly.

The scheduling engine

A C# assembly that provides a defined interface for resource scheduling. For information about the classes, structures, interfaces, and enumerations in the assembly, see Microsoft.Dynamics.AX.Planning.JobScheduling Namespace.

The scheduling engine uses resource groups that contain resources and capabilities for job and operations scheduling. The scheduling engine is responsible for making the actual resource selections and allocations. To allocate resources, the scheduling engine uses input from the X++ preprocessing code. The preprocessing code supplies the engine with the activities and constraints that are required to complete the operation. Those activities and constraints are provided as one or more jobs.

Term

Definition

Job

An occurrence of an activity performed between specific start and end times and at specific locations.

Activity

A functional work structure in which one or more persons and pieces of equipment participate and in which resources are consumed, produced, and used.

Resource

Anything that is used for the creation, production or delivery of a good or service beyond the materials consumed in the process. These can be of type tool, machine, human resource, location or vendor.

Fixed Lead Time

To customize the scheduling engine, you change the X++ pre-processing code and, if necessary, extend the C# code that is contained in the resource scheduling assembly. By extending the engine code, you do not need to directly change the C# scheduling engine assemblies that are shipped with Microsoft Dynamics AX. For example, to implement a fixed lead time constraint – which is the amount of time necessary to fill an order – you make changes to both the X++ pre-processing code and extend the C# scheduling engine. For more information on this, see Walkthrough: Adding Fixed Lead Time to a Resource Schedule

Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.