BudgetControlProcessor Class [AX 2012]

The BudgetControlProcessor class provides the interface that is used to interact with the budgetary control.

Syntax

class BudgetControlProcessor

Run On

Server

Methods

  Method Description
Gg774829.protmethod(en-us,AX.60).gif abortProcessForBudgetCheckFailure Determines whether the process must be aborted for a budget check failure.
Gg774829.protmethod(en-us,AX.60).gif activateTracking Activates budget source details tracking.
Gg774829.pubmethod(en-us,AX.60).gif addBudgetCheckRequestToProcessAtCommit Adds an instance of the BudgetControlCheckRequest class to the collection to be processed.
Gg774829.protmethod(en-us,AX.60).gif addBudgetControlDetailsToProcessCheck Adds the budget control details that contain the budget checking transaction currency totals for each source ledger dimension for later budget checking processing.
Gg774829.protmethod(en-us,AX.60).gif addBudgetControlDetailsToProcessRelief Adds the budget control details that contain the budget checking transaction currency totals for each source ledger dimension to check budget and the budget relieving transaction currency totals for each source ledger dimension whose budget funds are to be relieved for later budget funds relieving processing.
Gg774829.protmethod(en-us,AX.60).gif addBudgetReturnDetailsToProcessCheck Adds the budget return details with the budget checking transaction currency totals for each source ledger dimension for later budget checking processing.
Gg774829.protmethod(en-us,AX.60).gif addBudgetSourceError Adds the specified error message, error type, and error to the collection for the current budget source.
Gg774829.pubmethod(en-us,AX.60).gif addBudgetSourceToRemoveAtCommit Adds the record ID of the BudgetSource record to the collection to be removed.
Gg774829.pubmethod(en-us,AX.60).gif addBudgetSourceToReturnRemainingAtCommit Adds the budget source details to the collection to be processed for return.
Gg774829.protmethod(en-us,AX.60).gif addCheckDetailToTransCurrencyTotal Adds budget source detail transaction currency amount to check budget to the transaction currency total.
Gg774829.pubmethod(en-us,AX.60).gif addLedgerToCleanupDrafts Adds the ledger to be processed for draft reservation cleanup on transaction commit.
Gg774829.protmethod(en-us,AX.60).gif addRelievingDetailToTransCurrencyTotal Adds budget source detail transaction currency amount to check budget to the budget check transaction currency total and the amount to relieve budget to the budget relieving transaction currency total.
Gg774829.privmethod(en-us,AX.60).gif areProcessingDetailsPrepared Indicates whether there are any processing details prepared for budget check.
Gg774829.privmethod(en-us,AX.60).gif areProcessingDetailsPreparedForCurrent Indicates whether there are any processing details prepared for the current budget source.
Gg774829.protmethod(en-us,AX.60).gif areWarningsSuppressed Determines whether warnings are suppressed for the specified user and budget control configuration.
Gg774829.protmethod(en-us,AX.60).gif cacheCurrentBudgetResultDetails Caches the current result related details for the current budget source.
Gg774829.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg774829.privmethod(en-us,AX.60).gif clearTableCache
Gg774829.protmethod(en-us,AX.60).gif convertAmountCurToAmountMst Converts the specified amount in the specified currency to the accounting currency of the ledger using the budget exchange rate type.
Gg774829.protmethod(en-us,AX.60).gif determineBudgetCheckMessages Determines the messages that result from the budget check for the specified budget source.
Gg774829.protmethod(en-us,AX.60).gif determineDetailGroupStatus Determines the result of the check of the available budget based on the specified BudgetCheckResult values for the detail and the group.
Gg774829.protmethod(en-us,AX.60).gif determineErrorMessages Indicates the error messages for the available budget check based on the specified BudgetCheckResultErrorWarningDetail records.
Gg774829.protmethod(en-us,AX.60).gif determineMessagesForCheckResultDetails Determines messages based on the specified BudgetCheckResultErrorWarningDetail records.
Gg774829.protmethod(en-us,AX.60).gif determineWarningMessages Determines the warning messages for the check of the available budget based in the specified BudgetCheckResultErrorWarningDetail records.
Gg774829.protmethod(en-us,AX.60).gif displayBudgetCheckMessages Displays error and warning messages that result from the budget check.
Gg774829.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg774829.privmethod(en-us,AX.60).gif getBudgetRelievingDetailKey
Gg774829.privmethod(en-us,AX.60).gif getBudgetSourceDetailKey
Gg774829.protmethod(en-us,AX.60).gif getBudgetSourceTrackingToRelieve Gets the budget source tracking record whose budget source tracking ledger dimension budget funds are to be relieved.
Gg774829.privmethod(en-us,AX.60).gif getDimensionDisplayValue
Gg774829.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg774829.protmethod(en-us,AX.60).gif initialize Initializes an instance of the BudgetControlProcessor class.
Gg774829.privmethod(en-us,AX.60).gif isAmountWithinBoundary
Gg774829.protmethod(en-us,AX.60).gif loadCurrentBudgetControlDetails Loads the control processing related details for the current budget source.
Gg774829.protmethod(en-us,AX.60).gif loadCurrentBudgetResultDetails Loads the result processing related details for the current budget source.
Gg774829.protmethod(en-us,AX.60).gif markDraftsForCleanupByIntegrator Marks the draft budget source tracking data for deletion.
Gg774829.protmethod(en-us,AX.60).gif markDraftsForCleanupByLedger Marks the draft budget source tracking data for deletion.
Gg774829.protmethod(en-us,AX.60).gif new Initializes a new instance of the BudgetControlProcessor class.
Gg774829.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.)
Gg774829.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.)
Gg774829.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif parmDoBudgetCheckAsSimulation Gets or sets the DoBudgetCheckAsSimulation parameter.
Gg774829.pubmethod(en-us,AX.60).gif parmDoBudgetCheckForConfirmation Gets or sets the DoBudgetCheckForConfirmation parameter.
Gg774829.pubmethod(en-us,AX.60).gif parmDoDisplayMessagesFromBudgetCheck Gets or sets the DoDisplayMessagesFromBudgetCheck parameter.
Gg774829.protmethod(en-us,AX.60).gif postProcessForBudgetAvailableCheck Performs the post-processing logic after the budget check that includes determining error and warning messages.
Gg774829.protmethod(en-us,AX.60).gif postProcessForBudgetControlRemoval Performs post-processing logic after processing for removal.
Gg774829.protmethod(en-us,AX.60).gif prepareBudgetSourceForRemoval Prepares the budget source record ID for removal processing.
Gg774829.protmethod(en-us,AX.60).gif prepareBudgetSourceForReturn Prepares the budget source record ID for removal processing.
Gg774829.protmethod(en-us,AX.60).gif preProcessForBudgetAvailableCheck Performs the pre-processing logic in preparation for the budget check that includes the validation of details to be checked, marking details for deletion and return, and tracking of relieving details and budget check details.
Gg774829.protmethod(en-us,AX.60).gif preProcessForBudgetControlRemoval Performs the pre-processing for removal of the BudgetSource records.
Gg774829.protmethod(en-us,AX.60).gif preProcessForBudgetControlReturn Performs the pre-processing for return for the BudgetSource records that are designated to return the remaining funds.
Gg774829.protmethod(en-us,AX.60).gif processForBudgetControl Calls the stored procedure for performing the budget check.
Gg774829.protmethod(en-us,AX.60).gif resetCurrentMembers Resets the state of the class variables caching details about the current budget source.
Gg774829.protmethod(en-us,AX.60).gif resetProcessor Resets the class variables for the instance.
Gg774829.protmethod(en-us,AX.60).gif runBudgetControlProcessing Performs the budget control processing for budget sources to be removed, budget sources for which to return the remaining funds and budget check requests.
Gg774829.protmethod(en-us,AX.60).gif runDraftBudgetCleanup Performs the cleanup of draft budget reservations.
Gg774829.privmethod(en-us,AX.60).gif saveBudgetCheckResultErrorWarningDetails
Gg774829.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg774829.protmethod(en-us,AX.60).gif trackBudgetControlDetails Tracks all budget control details that are associated with the current budget source.
Gg774829.protmethod(en-us,AX.60).gif trackBudgetControlDetailsToRelieve Tracks all relieving budget control details that are associated with the current budget source.
Gg774829.protmethod(en-us,AX.60).gif trackBudgetReturnDetails Tracks all budget return details that are associated with the current budget source.
Gg774829.protmethod(en-us,AX.60).gif trackSimulatingBudgetSource Tracks the simulating budget source that simulates budget fund reservations from another budget source.
Gg774829.pubmethod(en-us,AX.60).gif ttsNotifyAbort Performs processing for the budget control in case of a transaction abort.
Gg774829.pubmethod(en-us,AX.60).gif ttsNotifyCommit Performs processing for the budget control for a transaction commit.
Gg774829.pubmethod(en-us,AX.60).gif ttsNotifyPostBegin Performs processing for the budget control for a transaction begin.
Gg774829.pubmethod(en-us,AX.60).gif ttsNotifyPreCommit Performs processing for the budget control during the transaction commit sequence.
Gg774829.privmethod(en-us,AX.60).gif updateBudgetSourceForInvalidRequest Updates the current BudgetSource record with the overall budget control result of invalid request.
Gg774829.privmethod(en-us,AX.60).gif updateBudgetSourceForPreProcessResult Updates the current BudgetSource record with the overall budget control result determined by pre-processing.
Gg774829.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.)
Gg774829.protmethod(en-us,AX.60).gif validateBudgetCheckDetails Validates the budget check details input from the BudgetControlCheckRequest class.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetModel Validates the budget model ID input from the BudgetControlCheckRequest object.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetRelievingDetails Validates budget relieving details.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetReturnDetails Validates the budget return details input from the BudgetControlCheckRequest object.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetSource Validates the budget source record ID specified by an instance of the BudgetControlCheckRequest class.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetSourceDetail Validates the budget source ledger dimension detail.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetSourceDetails Validates all budget source details input from the BudgetControlCheckRequest object.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetSourceLedgerDimension Validates a budget source ledger dimension.
Gg774829.protmethod(en-us,AX.60).gif validateBudgetSourceToRelieve Validates the budget source whose ledger dimension budget funds are to be relieved.
Gg774829.protmethod(en-us,AX.60).gif validateCurrency Validates the currency specified.
Gg774829.protmethod(en-us,AX.60).gif validateDate Validates the date input from the BudgetControlCheckRequest class.
Gg774829.protmethod(en-us,AX.60).gif validateDateForOpenFiscalPeriod Validates that the specified date is in an open fiscal period for the ledger of the specified legal entity.
Gg774829.protmethod(en-us,AX.60).gif validateForBudgetAvailableCheck Validates the user, date and budget model inputs from the BudgetControlCheckRequest object.
Gg774829.protmethod(en-us,AX.60).gif validateLegalEntityToCheckBudget Validates the legal entity that is associated with the ledger dimension to check budget.
Gg774829.protmethod(en-us,AX.60).gif validateLegalEntityToRelieveBudget Validates the legal entity that are associated with the ledger dimension whose budget funds are to be relieved.
Gg774829.protmethod(en-us,AX.60).gif validateRelievingCategories Validates the specified budget control category that contains the current budget source.
Gg774829.protmethod(en-us,AX.60).gif validateUser Validates the user input from the BudgetControlCheckRequest object.
Gg774829.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg774829.pubmethod(en-us,AX.60).gif Gg774829.static(en-us,AX.60).gif ::construct Initializes a new instance of the BudgetControlProcessor class.
Gg774829.privmethod(en-us,AX.60).gif Gg774829.static(en-us,AX.60).gif ::invokeBudgetCheckStoredProcedure Calls the budget check stored procedure to perform budget check.
Gg774829.privmethod(en-us,AX.60).gif Gg774829.static(en-us,AX.60).gif ::invokeBudgetControlSaveErrorWarnProc Calls the budget control save error warning results stored procedure.

Top

Remarks

This class is to be called by the integrators to budgetary control to check for available budget and remove the budgetary control data that is related to a budget source when it is deleted.

Inheritance Hierarchy

Object Class
  BudgetControlProcessor Class