LedgerAllocationProcessReqByBudgetPlan Class [AX 2012]

The LedgerAllocationProcessReqByBudgetPlan class is used to create the list of BudgetPlanLine table buffers as per the specified ledger allocation rule.

Syntax

class LedgerAllocationProcessReqByBudgetPlan

Run On

Called

Methods

  Method Description
Dn487790.pubmethod(en-us,AX.60).gif allocate Controls the processing of allocation request for specified ledger allocation rule and adds BudgetPlanLine table buffers in the list.
Dn487790.protmethod(en-us,AX.60).gif calcDestinationValues Computes the distribution value for a destination line, and adjusts totals and remaining amounts and quantities.
Dn487790.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn487790.protmethod(en-us,AX.60).gif createBudgetPlanLineDestinations Creates destination BudgetPlanLine table buffers as per the specified LedgerAllocationRule table's LedgerAllocationRuleID field.
Dn487790.protmethod(en-us,AX.60).gif createSpreadEvenDestinations Creates the destination BudgetPlanLine table buffers in the case where the allocation method is Spread Even and Source BudgetPlanLine table record's main account, dimensions or both are to be used to create the LedgerDimenison field of destination BudgetPlanLine table buffers.
Dn487790.pubmethod(en-us,AX.60).gif deleteBudgetPlanLinesByLedgerDimension Deletes the matching BudgetPlanLine table records in the target scenario, after confirmation from the user.
Dn487790.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn487790.protmethod(en-us,AX.60).gif getBudgetPlanningQuery Creates a query to retrieve the BudgetPlanLine table records based on the ledger allocation rules source criteria.
Dn487790.pubmethod(en-us,AX.60).gif getListOfBudgetPlanLineDistributions Returns the list of BudgetPlanLine table buffers.
Dn487790.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn487790.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn487790.protmethod(en-us,AX.60).gif initBasisValues Determines the basis amount for each destination BudgetPlanline table record against each LedgerAllocationBasisRule table record id.
Dn487790.protmethod(en-us,AX.60).gif initDestinationAllocationSettings Determine the total number of destination BudgetPlanLine buffers to be created.
Dn487790.protmethod(en-us,AX.60).gif initFixedPercentage Fixed Percentage allocation method requires all destinations to be user-specified.
Dn487790.protmethod(en-us,AX.60).gif initFixedWeight Fixed Weight allocation method requires all destinations to be user-specified.
Dn487790.pubmethod(en-us,AX.60).gif initRequest Initialize the LedgerAllocationProcessReqByBudgetPlan class.
Dn487790.pubmethod(en-us,AX.60).gif initSourceValues Intializes the source amounts and quantities to allocate.
Dn487790.protmethod(en-us,AX.60).gif initSpreadEven Determine the number of destination allocations to be created for spread even method.
Dn487790.protmethod(en-us,AX.60).gif new Initializes a new instance of the LedgerAllocationProcessReqByBudgetPlan class.
Dn487790.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.)
Dn487790.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.)
Dn487790.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn487790.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn487790.privmethod(en-us,AX.60).gif setAccountValues Retrieves the LedgerDimension field of BudgetPlanLine table record and creates a new a default account and retrieves the record ID of the persisted DimensionAttributeValueCombination table record.based on the Main Account in the BudgetPlanLine table's LedgerDimension field.
Dn487790.privmethod(en-us,AX.60).gif setDimensionValues Retrieves ledgerDimension field from BudgetPlanLine table record and converts it to DimensionDefault extended data type.
Dn487790.protmethod(en-us,AX.60).gif setDistributionValues Assigns the value in the BudgetPlanLine table record buffer for allocation.
Dn487790.privmethod(en-us,AX.60).gif setLedgerDimensionValues Retrieves the LedgerDimension field of BudgetPlanLine table record and add it to the instance of Set class named setLedgerDimension.
Dn487790.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn487790.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn487790.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.)
Dn487790.protmethod(en-us,AX.60).gif validateBasisRules The allocation rule is of allocation type = Basis. Iterate through each destination line for the rule and validate the Basis Id assigned to that destination line.
Dn487790.privmethod(en-us,AX.60).gif validateRequest Validates the ledger allocation rule and basis rules.
Dn487790.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn487790.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn487790.pubmethod(en-us,AX.60).gif Dn487790.static(en-us,AX.60).gif ::construct Initializes a new instance of the LedgerAllocationProcessReqByBudgetPlan class.
Dn487790.pubmethod(en-us,AX.60).gif Dn487790.static(en-us,AX.60).gif ::deleteBudgetPlanLines Deletes the BudgetPlanLine table records that are returned by specified QueryRun class instance.

Top

Remarks

The LedgerAllocationProcessReqByBudgetPlan class is similar to LedgerAllocationProcessRequest class.

Inheritance Hierarchy

Object Class
  LedgerAllocationProcessReqByBudgetPlan Class