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