ReqCalc Class [AX 2012]
Syntax
class ReqCalc extends RunBaseBatch
Run On
Called
Methods
Method | Description | |
---|---|---|
actionCalcDim | Processes action messages for one item dimension. | |
actionCalcDimDerived | ||
actionCalcDimDerivedDelete | ||
actionCalcDimDerivedTrans | ||
actionCalcDimDerivedTransDelete | ||
actionCalcDimTrans | Processes action messages for one requirement transaction. | |
actionCalcDimTransDelete | ||
actionCalcDimTransSum | ||
actionCalcItem | Processes action messages for the items in a given list on a given level. | |
actionCovCreate | ||
actionCoverReceipt | Creates an action to cover an issue. | |
actionFindFirstReceiptForCoverage | Finds the first receipt that may be used for coverage. | |
actionLoadCoverageIssuesAndReceipts | Loads issues and receipts into arrays. | |
actionLoadReceipts | Loads receipts that may be used for action coverage into an array. | |
actionQtyUpdate | ||
add2ReqTransCache | ||
addItem2ReqTransCache | ||
addRef2ReqTransCache | Adds a transaction by reference to the cache. | |
addReqTrans2ReqTransCache | ||
addRequisitionLineDemandFilters | Adds relevant filters to the query that finds requisition lines demand. | |
allowSaveLast | (Inherited from RunBaseBatch.) | |
batchInfo | Returns the BatchInfo class. This class is the API for the batch table. (Inherited from RunBaseBatch.) | |
bulkClearReqTransScrap | Clears all of the ReqTrans records that originate from the InventTrans table. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canGoBatch | Returns false (Inherited from RunBaseBatch.) | |
canGoBatchJournal | Determines whether the class is shown in the list of Journal types. (Inherited from RunBaseBatch.) | |
canSwapBetweenCS | Controls whether a calledFrom class that is instantiated on the server should have its prompt executed on the client. (Inherited from RunBase.) | |
caption | Gets the description from the current class by calling the static description method on the class if there is one. (Overrides the caption Method.) | |
checkCloseDialog | Must be called in the CloseOk method of a RunBase dialog box. (Inherited from RunBase.) | |
checkProbability | ||
cleanUp | Disposes the used resources of the scheduler engine. | |
cleanupDialog | Provides a way to clean up after a dialog box has been canceled. (Inherited from RunBase.) | |
cleanupInvalidRequisitionLineReferences | Deletes invalid references from the RequisitionLineFirmedOrderLine table. | |
covCalcDim | Performs coverage calculations for one item and one dimension. | |
covCalcDimTrans | ||
covCalcDimTransRefTransId | ||
covCalcItem | Performs coverage calculation for one item list. | |
covCodeQty | ||
covCreateCoverage | Creates the ReqTransCov record to settle the receipt and the issue reqTrans records. | |
covCreatePlannedOrder | Creates one or more planned orders where each planned order is a combination of a ReqPO and a ReqTrans record. | |
covCreateSafetyInvent | ||
covFinalizeLevel | Finalizes the coverage phase for one level. | |
covFindIssueQtyDate | ||
covFindIssueQtyPeriod | ||
covFindOnhand | Finds available inventory for covering a specified requirement transaction. | |
covFindReceipt | Finds a record in the ReqTrans table that has a positive free quantity in order to fulfill the issue that is meant for it. | |
covForecastAggregate | Aggregates forecast. | |
covForecastReduce | Calls forecast reduction logic if supply or demand forecast should be reduced. | |
covForecastReduceDemand | Reduces demand forecast. | |
covForecastReduceSupply | Reduces supply forecast. | |
covForecastValidateAggregation | Validates aggregated forecasts' quantities and emits warnings when the sum of forecasts' quantities is bigger than the quantity of more general forecast. | |
covInitLevel | Inserts coverage computation tasks for one level. | |
createProcessTasks | Creates the tasks for the complete master planning process. | |
createReqIntercompanyConversionUtil | Creates a new instance of the ReqIntercompanyConversionUtil class. | |
createReqIntercompanyQueryFactory | Creates a new instance of the ReqIntercompanyQueryFactory class. | |
createReqPlanData | Serves as the factory method for the ReqPlanData object that is used by the current master scheduling run. | |
createReqTransCache | ||
createReqTransNeutralDelete | Creates the instance of the class responsible for deleting neutral transactions. | |
createReqTransPoMarkFirm | Creates an instance of the ReqTransPoMarkFirm class that is used for firming planned orders. | |
createSafetyInvent | ||
createSafetyInventKey | ||
createTaskController | Creates a new instance of the ReqCalcTaskController class. | |
currentDaySchedFrom | Determines when scheduling on the current day should start from. | |
deleteAllReqTrans | Deletes all transactions of a given ReqRefType from the current plan version. | |
deleteIntercompanyReqTrans | Deletes the intercompany demand for the current plan version. | |
deleteItemRequirement | Deletes the requirement profile for an item in order to do a new master scheduling. | |
deleteRequisitionsReqTrans | Deletes requisition lines demand from the current plan version. | |
deleteUnscheduledOrders | Deletes the unscheduled orders for the current process. | |
dialog | Returns a class that contains the methods that are described by the RunBaseDialogable interface. (Inherited from RunBase.) | |
dialogClear | Clears the contents of the dialog box. (Inherited from RunBase.) | |
dialogInit | Initializes the dialog box. (Inherited from RunBase.) | |
dialogInternal | (Inherited from RunBase.) | |
dialogMake | Obtains the dialog from a RunBase class. (Inherited from RunBase.) | |
dialogPost | Executes after the dialog method has been called. (Inherited from RunBaseBatch.) | |
dialogPostInit | Called right after the RunBase.dialogInit Method method. (Inherited from RunBase.) | |
dialogPostRun | Called after the Dialog.run Method class. (Inherited from RunBase.) | |
dialogReInit | Reinitializes the dialog box. (Inherited from RunBase.) | |
dialogSelectCtrl | When using the dialog class for dialog, this method is called whenever a control is selected. (Inherited from RunBase.) | |
dialogTask | When using the Dialog Class class for dialog, this method is called from the task method in the dialog form. (Inherited from RunBase.) | |
dialogUpdate | Updates the dialog, for example after reinitializing the query. (Inherited from RunBase.) | |
dialogUpdateQuery | Updates the query in the dialog box. (Inherited from RunBase.) | |
doBatch | (Inherited from RunBaseBatch.) | |
dynamicReqPlanId | Determines the ID of the default dynamic master plan. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
explodeItemId | ||
explodeReceipt | Explodes an non-planned receipt. | |
findReceiptPeriod | Searches for a reqTrans record with a positive free quantity in order to fulfill the issue that is meant for it by a period quantity calculation. | |
futuresApplyKanban | Applies the futures date to the (firmed) Event Kanban. | |
futuresCalcDim | Updates the futures information on all transactions for a item/dimension pair. | |
futuresCalcDimSet | Processes futures messages for the item in a specified set of coverage dimensions on a specified level. | |
futuresCalcDimTrans | Updates a transaction that is futures marked. This includes rescheduling of planned orders if it is required. | |
futuresCalcItem | Processes futures messages for the items in a specified list on a specified level. | |
futuresDeleteCapReserv | ||
futuresInitLevel | Initializes the resource scheduler cache for an item BOM level that is processed during the futures loop. | |
futuresItem | ||
getBomLevelCalc | Creates the instance of the BOMLevelCalc class if it has not been created yet. | |
getFromDialog | Assigns the dialog values to the internal variables. (Inherited from RunBaseBatch.) | |
getIntercompanyDemandQuery | Builds the query to find the planned intercompany demand. | |
getLast | Gets the last choice stored in the last value table. (Inherited from RunBaseBatch.) | |
getProcessId | Gets a new master planning process from the number sequences. | |
getRunBase | (Inherited from RunBase.) | |
getSetupDim | Creates a new instance of the ReqSetupDim class. | |
getStatusRuntime | Computes the runtime for a range of phases of the master planning process. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
hasErrors | Returns a boolean indicating whether the scheduling has errors. | |
hasPreviousSchedulingError | Determines whether an issue has a previous scheduling error. | |
includeIntercompanyDemand | Retrieves a value that indicates whether to include intercompany demand or not. | |
includeRequisitions | Determines whether to include requisitions. | |
inGetSaveLast | Returns true when the GetLast or SaveLast method is executed. (Inherited from RunBase.) | |
init | Gives RunBase the same profile as, for example, a FormRun class. This method is not used in the standard application. (Inherited from RunBase.) | |
initBatch | (Inherited from RunBaseBatch.) | |
initializePlanVersions | Initializes the source and target master plan versions that are used by the current scheduling run. | |
initOrderPartitioner | Initializes the order partitioner. | |
initParmDefault | Initializes the internal variables. (Inherited from RunBase.) | |
initReqLog | ||
initTransFromInventSum | ||
initTransFromInventTrans | ||
initWrkCtrScheduler | Initializes the instance of the resource scheduler engine. | |
insertApprovedPo | ||
insertData | ||
insertDataItem | ||
insertIntercompanyDemand | Inserts the intercompany demand in the current plan version. | |
insertItemForecastDemand | Finds and inserts demand forecast in the requirement profile. | |
insertItemForecastInvent | Calls logic for inserting inventory forecast in the requirement profile. | |
insertItemForecastSupply | Finds and inserts supply forecast in the requirement profile. | |
insertItemInventSum | ||
insertItemInventTrans | ||
insertItemSafetyInvent | ||
insertKanbanLines | Adds the Kanban picking list lines for a Kanban to the cache for processing. | |
insertKanbanTransferIssue | Adds the transfer issues for a withdrawal kanban to the cache for processing. | |
insertProdBOM | Adds the BOM lines for a Production order to the cache for processing. | |
insertReqLog | Inserts a record in the master planning log table. | |
insertRequisitionsDemand | Inserts requisition lines demand in the current requirement profile. | |
insertTasksForAllItems | Inserts tasks for all items to be processed for a given status and level state. | |
insertTransferShip | Adds the issue for a transfer order line to the cache for processing. | |
insertUnscheduledOrders | Inserts all orders that have not been scheduled into a table in the database for later scheduling. | |
isBOMLevelRecalculateAllowed | Indicates whether the item BOM level recalculation can be performed. | |
isCompleteUpdate | ||
isInBatch | Determines whether the RunBaseBatch is actually being run from a batch server. (Inherited from RunBaseBatch.) | |
isPreviousReceiptValid | ||
isQtyChangedAndCoveredByOnHand | Determines whether the quantity has been changed in a transaction covered by on-hand. | |
isReqCalcUpdateFixed | Indicates whether the master scheduling principle is fixed. | |
isReqTransUpdated | ||
isSwappingPrompt | Checks if the program is currently swapping from server to client. (Inherited from RunBase.) | |
isTimeFenceBackRequisitionFixed | Determines whether the requisitions time fence is fixed on the plan, i.e. not item or dimensions dependent. | |
isTimeFenceCoverageFixed | Determines whether the coverage time fence is fixed on the plan, i.e. not item or dimensions dependent. | |
lastValueDataAreaId | (Inherited from RunBase.) | |
lastValueDesignName | (Inherited from RunBase.) | |
lastValueElementName | (Inherited from RunBase.) | |
lastValueType | (Inherited from RunBase.) | |
lastValueUserId | (Inherited from RunBase.) | |
lockDynamicReqPlan | Locks the default dynamic master plan. | |
lockIntercompanyPlanVersions | Locks the plan versions in downstream customer companies, which serve as the source of the planned intercompany demand. | |
mapFindInventDimId | ||
markDelayedScheduledOrders | Marks orders as delayed. | |
mcrCovContinuityReduce | Calculates the coverage reduction for continuity forecasting. | |
mcrInsertItemContinuityInvent | Creates the planned orders for the continuity forecasting plan. | |
mcrInsertItemContinuitySales | Creates the planned orders for the continuity forecasting plan, based on sales order demand. | |
mcrSkipInventTrans | Returns a boolean value indiciating whether planning should be skipped for the specified _inventTransOrigin record. | |
mustDeleteNeutralTransactions | Defines whether neutral transactions must be deleted. | |
mustExplodeNonPlannedReceipt | Determines if non-planned receipts should also be exploded. | |
mustGoBatch | (Inherited from RunBaseBatch.) | |
mustLoadSaveQuery | Determines whether the last query must be loaded and saved when you leave the form. Called from the SysQueryForm. (Inherited from RunBase.) | |
name | Returns the name of the RunBase class. (Inherited from RunBase.) | |
new | Initializes a new instance of the ReqCalc class. (Overrides the new Method.) | |
newInventMovement | ||
newQueryInventSum | Creates a query for the InventSum table grouped based on the coverage dimension. | |
newQueryInventTrans | ||
newQueryInventTransIssue | ||
newQueryInventTransReceipt | ||
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.) | |
pack | Serializes the current instance of the ReqCalc class. (Overrides the pack Method.) | |
packThreadData | ||
parmApplyFuturesToEventKanban | Gets or sets the ApplyFuturesToEventKanban parameter. | |
parmAutoReserveCoverage | Gets or sets the AutoReserveCoverage parameter. | |
parmBomLevelCalc | Gets or sets the BomLevelCalc parameter. | |
parmCapacityConflictsHandler | Gets or sets the CapacityConflictsHandler parameter. | |
parmClearLog | Gets or sets the ClearLog parameter. | |
parmComment | Gets or sets the Comment parameter. | |
parmCurrentBatch | Gets or sets the CurrentBatch parameter. (Inherited from RunBaseBatch.) | |
parmEnableTableTraceLog | Gets or sets the EnableTableTraceLog parameter. | |
parmInBatch | Gets or sets the InBatch parameter. (Inherited from RunBaseBatch.) | |
parmInterCompanyCalc | Gets or sets the InterCompanyCalc parameter. | |
parmIntercompanyDemandPlanFilter | Gets or sets the IntercompanyDemandPlanFilter parameter. | |
parmIntercompanyGroup | Gets or sets the IntercompanyGroup parameter. | |
parmIsTaskTraceEnabled | Gets or sets the IsTaskTraceEnabled parameter. | |
parmMaxChildThreads | Gets or sets the MaxChildThreads parameter. | |
parmProgress | Gets or sets the Progress parameter. (Inherited from RunBase.) | |
parmRecalculateBomLevels | Gets or sets the RecalculateBomLevels parameter. | |
parmRecalculateSafetyInvent | Gets or sets the RecalculateSafetyInvent parameter. | |
parmReqCalcMarkDelayed | Gets or sets the ReqCalcMarkDelayed parameter. | |
parmReqCalcUpdate | Gets or sets the ReqCalcUpdate parameter. | |
parmReqForecastReduce | Gets or sets the ReqForecastReduce parameter. | |
parmReqPlanData | Gets or sets the ReqPlanData parameter. | |
parmReqPlanId | Gets or sets the ReqPlanId parameter. | |
parmReqPlanManager | Gets or sets the ReqPlanManager parameter. | |
parmThisIsChildThread | Gets or sets the ThisIsChildThread parameter. | |
parmThrowCovItemValidationErrors | Gets or sets the ThrowCovItemValidationErrors parameter. | |
pdsApplyExpiryDate | ||
pdsMaintainSafetyStock | Ensures that safety stock level is maintained for expiring receipts. | |
pdsRunSequencing | Runs the sequencing process using the current ReqPlanID value. | |
planTimeFenceBackRequisition | Returns the requisitions time fence value that is set on the plan. | |
planTimeFenceCoverage | Returns the coverage time fence value that is set on the plan. | |
pmfCoActionCalcDimTransSum | Calculates action messages for planning item transactions. | |
pmfCoActionCalcDimTransSumDerived | Calculates action messages for derived planning item transactions. | |
pmfCoActionCalcDimTransSumDirect | Calculates action messages for direct planning item transactions. | |
pmfCoBySetupQty | Calculates a co-byproduct reqTrans quantity based on inventory default settings. | |
pmfCoCovCreatePlannedOrder | Creates one or more planned orders for a co-byproduct issue where each planned order is a combination of a ReqPO and ReqTrans record. | |
pmfCoCovIncreaseExistingOrder | Increases coverage for co-byproduct demand adjustment. | |
pmfCoCovUpdateProdPO | Updates coverage quantity for co-byproduct related required transaction. | |
pmfCovCalcCoProdTaskGroup | ||
pmfFindExistingCoProductReqTrans | Finds existing receipts to fulfill planning demands for issue transaction. | |
pmfPlanGroupSubstituteIssue | Performs substitution between planning group items. | |
pmfResetCovGroupsCurrent | Resets the default priority order for item coverage. | |
pmfUpdateCoByReqTrans | Updates all planned order related co-byproduct transaction quantities based on demand adjustment. | |
postCoverage | Executes tasks after the coverage phase. | |
postUpdate | ||
preActions | Inserts action messages computation tasks. | |
preCoverage | Inserts coverage computation tasks for all levels. | |
preFutures | Inserts future messages computation tasks. | |
prepareForRun | Allows subclasses to process the dialog box immediately before the execution of the dialog box.Run method. (Inherited from RunBaseBatch.) | |
preUpdate | ||
processTask | Processes a master planning task. | |
processTasks | Processes all the pending tasks for the current master planning process. | |
progressHide | Hides the Progress form. (Inherited from RunBase.) | |
progressInit | Initializes the Progress object in RunBase. (Inherited from RunBase.) | |
progressInitSeries | Initializes the progress display. | |
progressKill | Kills the Progress object in RunBase. (Inherited from RunBase.) | |
prompt | Displays the dialog from the class dialog and waits for user input. (Inherited from RunBaseBatch.) | |
promptPack | Wraps a call to the RunBase.pack Method when packing in the RunBase.promptPrim Method. (Inherited from RunBaseBatch.) | |
promptUnpack | (Inherited from RunBaseBatch.) | |
putToDialog | Enables setting the fields that were just added in the RunBase.dialog Method method. This method is called from the RunBase.promptPrim Method method directly following the RunBase.dialogMake Method method. (Inherited from RunBase.) | |
queryRun | Returns the QueryRun object, which is used by the QueryPrompt class. (Inherited from RunBase.) | |
recalculateBOMLevels | Starts the item level recalculation, if it is required. | |
remainAddQtyOnReceipt | ||
reqPlanVersionRefRecId | Determines the master plan version which must be used by the current scheduling process. | |
requisitionLinesDemandQuery | Builds a query that finds requisition lines that may have to be taken into account in the current master scheduling run. | |
reset | Resets the class to its default state. (Inherited from RunBase.) | |
resourceScheduleOrder | Schedules resources for an order. | |
resourceScheduleOrderBundle | Schedules resources for a bundle of orders. | |
resourceSchedulePartitionOrders | Creates order bundles according to the partitioning information and the associated master planning task for each bundle. | |
run | Contains the code that does the actual job of the class. (Overrides the run Method.) | |
runBase | Returns the RunBase itself. (Inherited from RunBase.) | |
runBaseDialogModifyType_RU | (Inherited from RunBase.) | |
runPostActions | Performs actions specified in master planning parameters after the current scheduling process has completed. | |
runsImpersonated | Determines whether the batch task is run on the server or on a client. (Overrides the runsImpersonated Method.) | |
safetyStockDate | ||
saveLast | Saves the last choice by using the RunBase.pack Method. (Inherited from RunBaseBatch.) | |
setParameters | Initializes all the parameters for the master planning instance. | |
setReqTransUpdated | ||
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
showBatchTab | (Inherited from RunBaseBatch.) | |
showClearButton | Determines whether to add a Clear button to the dialog box. If you change the return value to true it will add the button. (Inherited from RunBase.) | |
showDefaultButton | Determines whether a Default button is to be added to the dialog box. If you change the return value to true, it will add the button. (Inherited from RunBase.) | |
showDialog | (Inherited from RunBase.) | |
showIndexFields | If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index. (Inherited from RunBase.) | |
showQuerySelectButton | (Inherited from RunBase.) | |
showQueryValues | Determines whether a Select button is to be added to the dialog box. If you change the return value to true, the button will be added. (Inherited from RunBase.) | |
staticReqPlanId | Determines the ID of the default static master plan. | |
statistics | Computes time statistics for the update data, coverage, futures and actions phases. | |
threadId | ||
toString | Returns a string that represents the current object. (Inherited from Object.) | |
ttsbegin | ||
ttscommit | ||
unlockDynamicReqPlan | Unlocks the default dynamic master plan. | |
unlockIntercompanyPlanVersions | Unlocks the plan versions in downstream customer companies, which serve as the source of the planned intercompany demand. | |
unpack | Deserializes the packedClass parameter value to an instance of the ReqCalc class. (Overrides the unpack Method.) | |
unpackThreadData | ||
updateAutoFirmPo | Firms the planned orders in the firming time fence. | |
updateAutoReserveCoverage | ||
updateData | Updates the requirement profile for the current MRP run. | |
updateItemLock | ||
updateParentPlannedOrders | Update order date and order time of planned orders that have derived requirements to the minimum date and time of its derived requirements. | |
updatePurchReqRefsCoveredByFirmedOrders | Creates new requisition line references for requisition lines that are being covered by planned orders.If those requisition lines are not in state Closed, they will be set to state Closed. | |
updateReqLog | Updates the Reqlog table with the number of auto-firmed orders. | |
updateReqPlans | Copies the static master plan into the dynamic master plan if it is specified in master planning parameters. | |
updateReqTransUpdate | ||
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
useCache | ||
validate | (Inherited from RunBaseBatch.) | |
validateNumberSequences | Validates that the number sequences is set up correctly. | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::addCovDimIdAsTask | Adds the specified coverage dimension and dependent coverage dimensions to the ReqDependency object. | |
::argsItemId | ||
::argsReqPlanId | ||
::bulkInitFromInventTransOrigin | Initializes many ReqTrans records for a specific item ID with settings from related originator records. | |
::cacheReduceKey2Dates | ||
::construct | Initializes a new instance of the ReqCalc class. | |
::dates2cacheReduceKey | ||
::description | Gets the description of the class. | |
::reqTransCoverage2SortKey | Creates a sort key that is used to sort requirement transactions during coverage calculation. | |
::reqTransFutures2sortKey | ||
::updateAllItems |
Top
Inheritance Hierarchy
Object Class
RunBase Class
RunBaseBatch Class
ReqCalc Class
MCRReqCalcContinuityItem Class
MCRReqCalcContinuityItemTable Class
ReqCalcExplode Class
ReqCalcForecastItem Class
ReqCalcForecastItemTable Class
ReqCalcScheduleItem Class
ReqCalcScheduleItemTable Class