WrkCtrScheduler_Req Class [AX 2012]

The WrkCtrScheduler_Reg class is a processor that is in charge of loading the planned production orders information and feeding them to the scheduling engine.

Syntax

class WrkCtrScheduler_Req extends WrkCtrScheduler

Run On

Server

Methods

  Method Description
Gg819027.pubmethod(en-us,AX.60).gif addExclusiveJobToSchedule Adds a job to an exclusive list of jobs of a certain order that should be scheduled. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addGroupProperties Adds the required properties to a property map. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addInfologMessage Adds an Infolog entry for an order that failed scheduling. (Overrides the addInfologMessage Method.)
Gg819027.protmethod(en-us,AX.60).gif addInfologMessages Adds Infolog messages for the orders that failed scheduling and that have not been added to the reschedule queue. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addJobToOverlapJobList Adds a job to the overlap job list to be included when emitting the overlap constraint. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addPropertyAggregations Adds property aggregations to the scheduling engine. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addResourceGroupMembership Adds resource to resource group membership records to the scheduling engine data model. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addToRescheduleQueue Adds a WrkCtrParmSchedule record that contains the parameters that are used to schedule an order into the reschedule queue of the engine. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif addToUpdatedOrdersMap Adds a new order to the map of updated orders. (Overrides the addToUpdatedOrdersMap Method.)
Gg819027.pubmethod(en-us,AX.60).gif addWrkCtrParmSchedule Adds a WrkCtrParmSchedule record that contains the parameters that are used to schedule an order into the scheduling list of the engine. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif applicableResourceGroupsFromResources Gets applicable resource groups from list of applicable resources. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif blankRoute Retrieves a blank ProdRoute record. (Overrides the blankRoute Method.)
Gg819027.protmethod(en-us,AX.60).gif calculateResourcePriority Calculates the resource priority based on the requirements and the priority date. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif canSchedule Checks if a planned production order can be scheduled. (Overrides the canSchedule Method.)
Gg819027.pubmethod(en-us,AX.60).gif capacityRefType Retrieves the capacity reservation type. (Overrides the capacityRefType Method.)
Gg819027.protmethod(en-us,AX.60).gif capacityTypeReservation Retrieves the type of scheduling being done, job or operation scheduling, for a specific order scheduling parameters record. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif checkSchedulingDirectionChange Checks whether the scheduling direction was changed during scheduling. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif checkSingleJobSchedApplicableResources Checks that a resource meets the requirements of an operation in a specified time period when a job is scheduled. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif cleanUpOrder Cleans up the order data when a scheduling fails. (Overrides the cleanUpOrder Method.)
Gg819027.pubmethod(en-us,AX.60).gif clearListWrkCtrParmSchedule Clears the list that contains all orders to schedule. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif computeJobGoal Computes the job goal depending on the current bill of materials (BOM) level. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif computeJobTime Computes the runtime of a job. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif computeJobTimes Computes the runtime of a job for each resource in a specified list. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif countNumberOfCapabilities Counts the number of capability requirements. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif createBOMCalcData Creates an instance of the BOMCalcData class for a given order. (Overrides the createBOMCalcData Method.)
Gg819027.protmethod(en-us,AX.60).gif createEngine Creates the C# job scheduling engine and the appropriate engine data provider. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif createTmpRoute Creates a temporary ReqRoute route record and returns it as a Common table buffer. (Overrides the createTmpRoute Method.)
Gg819027.pubmethod(en-us,AX.60).gif createTmpRouteJob Creates a temporary production job record and returns it as a Common table buffer. (Overrides the createTmpRouteJob Method.)
Gg819027.protmethod(en-us,AX.60).gif deleteAllTemporaryJobs Deletes all of the temporary jobs. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif deleteTemporaryJob Deletes a temporary job. (Overrides the deleteTemporaryJob Method.)
Gg819027.pubmethod(en-us,AX.60).gif dispose Disposes of the resources that are held by the scheduling engine. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif findJobWrkCtrParmSchedule Finds the WrkCtrParmSchedule object for the order that a specific job belongs to. (Overrides the findJobWrkCtrParmSchedule Method.)
Gg819027.protmethod(en-us,AX.60).gif findRefId Finds a ReqTrans record in the master data. (Overrides the findRefId Method.)
Gg819027.protmethod(en-us,AX.60).gif findWrkCtrParameters Determines the correct WrkCtrParametersDim for an order. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif fixedJobTimesForResources Fills a map that contains a fixed job time for each resource in a given resource list. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif flushCachedSaveData Flushes the saved capacity reservation and the capacity reservation properties records to the database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif getExclusiveJobList Gets a set of jobs that should be scheduled for a certain order, if only some of the jobs should be scheduled. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif getProductionUnitAndWarehouse Retrieves the production unit and warehouse that is assigned to the route. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif getResourceRequirement Gets the resource ID when the requirements map contains a resource requirement. Otherwise, an empty string is returned. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif getResourceRequirementProperties Gets a map of requirement properties for the specific resource used by a given job. (Inherited from WrkCtrScheduler.)
Gg819027.privmethod(en-us,AX.60).gif getRouteAndOperation Retrieves the route and operation.
Gg819027.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif handleCapacityConflicts Handles the capacity reservation conflicts. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif handleRouteLessOrder Inserts a placeholder job to enable the engine to schedule orders without routes. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif infologPrefixOprNum Retrieves the prefix to display in the Infolog specified by the job ID. (Overrides the infologPrefixOprNum Method.)
Gg819027.pubmethod(en-us,AX.60).gif init Initializes the engine variables. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif initCache Clears the scheduling engine caches. (Overrides the initCache Method.)
Gg819027.protmethod(en-us,AX.60).gif initCapacityReservationData Fill the capacity reservation record with the appropriate scheduler data. (Overrides the initCapacityReservationData Method.)
Gg819027.protmethod(en-us,AX.60).gif initCapResHandler Initializes the capacity reservation flags that are used to determine how overbooking checks are performed. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif initNumTypes Initializes the typically used values for job types. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif initOrderData Initializes the master data structures. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif initOverlapMaps (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif initParallelJobsMap Initializes the map that tracks the parallel jobs for each job type. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif initReqPlanData Initializes the plan data cache.
Gg819027.protmethod(en-us,AX.60).gif inputWarehouse Retrieves the input warehouse ID for a specific operation record. (Overrides the inputWarehouse Method.)
Gg819027.protmethod(en-us,AX.60).gif insertCalendarResource Inserts an scheduling engine resource into the scheduling engine. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertEmptyJob Inserts an empty job to enable the engine to schedule jobless operations. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertJob Inserts a job to be scheduled into the engine data pool. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertJobAndConstraints Inserts jobs and constraints to be scheduled into the engine data pool. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertJobGoalConstraints Creates constraints that depend on the scheduling goal for a given job. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertLeadTimeJob Inserts a lead time job to enable the engine to schedule routeless orders. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertNotOnSameResConstraints Emits constraints for jobs that should not be scheduled on the same resource. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertOrder Inserts order information for scheduling.
Gg819027.protmethod(en-us,AX.60).gif insertOverlapLinks Inserts the links that are generated by the overlap jobs. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertParallelJob Inserts a parallel job in the internal map that is used to track parallel jobs for each job type. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertParallelJobsConstraints Emits all the constraints for all the parallel jobs of a certain type. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertResource Inserts a resource into the resource list of the scheduling engine. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif insertWrkCtrCapResUsingInsertList Inserts the given capacity reservation using the internal record insert list. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif keyOrder Retrieves a value that can be used in maps that have as a key the production order ID. (Overrides the keyOrder Method.)
Gg819027.protmethod(en-us,AX.60).gif keyRoute Computes a key for an operation. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif leadTimeParameters Computes the lead time parameters for a given order. (Overrides the leadTimeParameters Method.)
Gg819027.pubmethod(en-us,AX.60).gif limitCapPO Specifies whether the capacity reservations that are derived from planned orders will be included in the calculation of available capacity when scheduling is executed. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif limitCapProd Indicates whether capacity reservations that are derived from production orders will be included in the calculation of available capacity when executing scheduling. (Overrides the limitCapProd Method.)
Gg819027.pubmethod(en-us,AX.60).gif limitCapProject Indicates whether capacity reservations that are derived from project hour forecasts will be included in the calculation of available capacity when executing scheduling. (Overrides the limitCapProject Method.)
Gg819027.protmethod(en-us,AX.60).gif limitedCapacity Computes whether limited capacity should be used when scheduling a certain order and using a specific resource. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif limitedCapacityToDate Computes the capacity time fence for an order and a specific resource. (Overrides the limitedCapacityToDate Method.)
Gg819027.protmethod(en-us,AX.60).gif limitMaterialDate Enforces the rule that an operation cannot start earlier than the materials are available when scheduling with finite materials. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif loadData Loads the data needed for the engine to schedule a list of production orders. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif loadDerived Loads the derived requirements.
Gg819027.protmethod(en-us,AX.60).gif loadJobsDetail Loads job information for the jobs of one operation into the scheduling engine. (Overrides the loadJobsDetail Method.)
Gg819027.protmethod(en-us,AX.60).gif loadOrder Loads data for one order that is scheduled. (Overrides the loadOrder Method.)
Gg819027.protmethod(en-us,AX.60).gif loadPreviouslyUsedResources Loads the previously used resources for each primary operation. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif loadRoute Loads into the scheduling engine all information needed for scheduling a route for an order. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif mustKeepJobResourceAssignment Computes a boolean value that indicates whether the current job resource assignment must be kept. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif new Initializes a new instance of the WrkCtrScheduler_Req class. (Overrides the new Method.)
Gg819027.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif onSaveJobsDone Occurs when the save operation for the jobs in the database is finished. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif onSaveJobsStart Executes before a save operation starts for the scheduled jobs in the database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif parmCapResHandler Gets or sets the CapResHandler parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmCheckLockingTTSLevel Gets or sets the CheckLockingTTSLevel parameter. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif parmRefIdField Gets or sets the RefIdField parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmReqPlanVersionRefRecId Gets or sets the ReqPlanVersionRefRecId parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmResetWorkingTimesCacheForEachRun Gets or sets the ResetWorkingTimesCacheForEachRun parameter. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif parmRouteOprNumField Gets or sets the RouteOprNumField parameter. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif parmRouteRefIdField Gets or sets the RouteRefIdField parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmSchedulingEngine Gets or sets the SchedulingEngine parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmWrkCtrCapResConflictCheckIntervals Gets or sets the WrkCtrCapResConflictCheckIntervals parameter. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif parmWrkCtrCapResHandler Gets or sets the WrkCtrCapResHandler parameter. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif prepareCapacityCheckIntervals Inserts the conflict check intervals. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif processLastJob Creates a constraint on the last job. (Overrides the processLastJob Method.)
Gg819027.protmethod(en-us,AX.60).gif productionUnit Retrieves the production unit ID assigned to the resource or resource group previously used to schedule a specific operation. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif refLineType The reference line type that is on a ReqTrans record for the current order. (Overrides the refLineType Method.)
Gg819027.protmethod(en-us,AX.60).gif requirementsAllowFastSetup Indicates whether the requirements support a fast setup. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif reset Resets the scheduler, preparing it for a new scheduling run. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif run Performs a scheduling run. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif saveData Saves the data for all the scheduled orders to the AX database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif saveDerived Saves derived planned orders.
Gg819027.protmethod(en-us,AX.60).gif saveJobs Saves job information to the database. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif saveOperation Saves the scheduling results for an operation to the database. (Overrides the saveOperation Method.)
Gg819027.protmethod(en-us,AX.60).gif saveOrder Saves the scheduling results for a production order. (Overrides the saveOrder Method.)
Gg819027.protmethod(en-us,AX.60).gif saveOrdersAndRelated Saves order and related data. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif saveRoutes Saves the route information, or operation information, to the database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif schedStatus Retrieves the scheduling status, either Job scheduled or Operation scheduled, based scheduling method requested for a certain order. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif schedulingErrorOccured Indicates whether any errors occurred during scheduling. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif schedulingProperties Retrieves the scheduling properties for a given activity requirement set, site and scheduling method. (Overrides the schedulingProperties Method.)
Gg819027.pubmethod(en-us,AX.60).gif setCapacityConflictHandler Sets the capacity conflict handler that will be used during resource scheduling. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif setReqPlanData Sets a ReqPlanData object that can be used as an item coverage cache.
Gg819027.protmethod(en-us,AX.60).gif setResourceRequirementInRequirementMap Sets the properties map entry for the current operation priority to a specific resource requirement. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif transferBatchTimeToProcessTimeRatio Determines the ratio between the time that is required to process one transferrable batch and the total time of the specified operation. (Overrides the transferBatchTimeToProcessTimeRatio Method.)
Gg819027.protmethod(en-us,AX.60).gif updateBOMLineInputWarehouse Updates the picking warehouse on the bills of material (BOM) lines with the input warehouses of the selected resources.
Gg819027.protmethod(en-us,AX.60).gif updateRequirementSetAndPropertiesMaps Updates the maps of the requirements and properties. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif validateCapacityConflicts Validates capacity reservation conflicts. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg819027.protmethod(en-us,AX.60).gif writeAllCapacityReservationProperties Writes all of the properties of an object to the WrkCtrCapResProperty table. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif writeCapacityReservation Writes a capacity reservation record to the database. (Inherited from WrkCtrScheduler.)
Gg819027.protmethod(en-us,AX.60).gif writeJobCapacityReservations Writes the capacity reservations for one job to the database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif writeJobData Writes the job data to the database. (Inherited from WrkCtrScheduler.)
Gg819027.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg819027.pubmethod(en-us,AX.60).gif Gg819027.static(en-us,AX.60).gif ::construct Initializes a new instance of the WrkCtrScheduler_Req class.
Gg819027.pubmethod(en-us,AX.60).gif Gg819027.static(en-us,AX.60).gif ::newCheckLockingTTSLevel Initializes a new instance of the WrkCtrScheduler_Req class.
Gg819027.pubmethod(en-us,AX.60).gif Gg819027.static(en-us,AX.60).gif ::saveDerivedTransactions Updates the derived requirement transactions.

Top

Remarks

It also writes the results provided by the scheduling engine back to the Microsoft Dynamics AX database.

Inheritance Hierarchy

Object Class
  WrkCtrScheduler Class
    WrkCtrScheduler_Req Class
      WrkCtrScheduler_PmfSeq Class