WrkCtrSchedulerJobSchedulingEngine Class [AX 2012]
The WrkCtrSchedulerJobSchedulingEngine class is a C# job scheduling engine interface.
| Method | Description | |
|---|---|---|
| addCapacityReservation | Adds reserved capacity information for a specific resource. |
| addConstraintEndsDelayed | Defines the constraint that a job cannot end before the end of another job plus some delay time. |
| addConstraintJobEndsAt | Adds a constraint that a job should end at a specified date and time. |
| addConstraintJobListWorkingTimeIntersect | Specifies a job capacity reservations intersection constraint for a list of jobs. |
| addConstraintJobOverlap | Adds a constraint that defines how jobs are sequenced when a given quantity of an item can be moved between two resources when the first resource is still not finished processing, so that the second resource can start processing. |
| addConstraintJobStartsAt | Adds a constraint that a job should start at a specified date and time. |
| addConstraintMaxJobDays | Defines the constraint that a job can span over a specified maximal number of days. |
| addConstraintNotOnSameResource | Adds a constraint that the jobs should not be scheduled on the same resource. |
| addConstraintOnSameResource | Adds a constraint that both jobs are using the same resource. |
| addConstraintResourceRequirement | Adds a constraint that the job must be scheduled on a specific resource. |
| addJobBindPriority | Adds a job bind priority for a (job, constraint level) pair. |
| addJobCapacity | Adds capacity load information for a job. |
| addJobGoal | Adds job goal information for a specific constraint level. |
| addJobInfo | Adds a job information record that informs the engine about a job that should be scheduled. |
| addJobLink | Adds a link between two jobs. |
| addJobResourceCapacity | Adds a resource to the set of resources that can be used to perform a job. |
| addJobResourcePriority | Adds the priority to use when a job is scheduled on a resource. |
| addJobResourceRuntime | Specifies a job time that is independent of the resource on which the job will be scheduled. |
| addJobRuntime | Specifies a job time that is independent of the resource on which the job will be scheduled. |
| addJobSameReservations | Adds a constraint that a job must have the same reservations as the primary job. |
| addOptimizationGoal | Adds a scheduling optimization goal. |
| addPropertyToGroupAggregation | Adds a property prefix to the set of properties used when capacity is aggregated. |
| addResource | Adds a resource to the scheduling engine resource pool. |
| addResourceGroup | Adds a resource group to the scheduling engine resource group pool. |
| addResourceGroupMembership | Adds a resource as a member to an resource group. |
| addWorkingTime | Adds working time intervals for a specific resource. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearAllCachedData | Resets the working times cache. |
| convertJobGoal | Converts the WrkCtrSchedulerGoal value to a Microsoft.Dynamics.AX.Planning.JobScheduling.JobGoal value. |
| dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| flushCommands | Sends all the scheduling model commands to the C# scheduling engine. |
| getJobSchedulingSequenceResult | Gets the scheduling result and the first error job for the sequence identified by a specific job. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| init | Initializes the job scheduling engine class. |
| jobsListContainer | Retrieves a container with the jobs in a list. |
| new | Initializes a new instance of the WrkCtrSchedulerJobSchedulingEngine class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmScheduler | Gets or sets the Scheduler parameter. |
| parmWrkCtrSchedulerRuntimes | Gets or sets the WrkCtrSchedulerRuntimes parameter. |
| prepareCapacityCheckIntervals | |
| propertiesContainer | Retrieves a container with the properties and their grades. |
| reset | Triggers a reset of the scheduling engine, preparing it for a new scheduling run. |
| resourceListContainer | Retrieves a container that has resource identifiers. |
| run | Schedules all loaded jobs and returns the error code. |
| scheduleJobOnResourceGroup | Marks a job to schedule on the resource group level. |
| setJobResourcePreemptionAllowed | Sets whether preemption is allowed for a job on a resource. |
| setPrimaryParallelJob | Adds information about what job is the primary job in a set of parallel jobs. |
| setRequiredNumberOfResources | Sets the number of resources required to schedule a job. |
| setReservationsTimeStamp | Sends a timestamp to the engine that should be set on all new capacity reservations for the scheduled jobs in the engine cache. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateJobCapacityReservations | Validates the capacity reservations for all the jobs stored by the engine. |
| wait | Pauses a process. (Inherited from Object.) |
| writeScheduledData | Writes the job data and the capacity reservations to the database. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the WrkCtrSchedulerJobSchedulingEngine class. |
| ::getLastClrException | Gets the last CLR exception. |
| ::newSchedulingEngine | Creates a job schedule object and assigns an instance of a runtime measurement class to it. |
Community Additions
ADD
Show: