LedgerAllocationProcessReqByBudgetPlan.deleteBudgetPlanLinesByLedgerDimension Method [AX 2012]

Deletes the matching BudgetPlanLine table records in the target scenario, after confirmation from the user.

Syntax

public boolean deleteBudgetPlanLinesByLedgerDimension([boolean _usingSourceAccounts, boolean _usingSourceDimensions])

Run On

Called

Parameters

  • _usingSourceAccounts
    Type: boolean
    true when LedgerAllocationRule table DestinationAccountFrom enum is set to Source; otherwise false.
  • _usingSourceDimensions
    Type: boolean
    true when LedgerAllocationRule table DestinationDimensionFrom enum is set to Source; otherwise false.

Return Value

Type: boolean
true if the matching BudgetPlanLine table records are deleted; otherwise false.

Remarks

As per the functional requirement, the Budget Plan Lines the target scenario that have the same dimension values as the budget plan lines created through allocation needs to be deleted. This method is used to achieve this objective.

See Also

Reference

LedgerAllocationProcessReqByBudgetPlan Class