DimensionDefaultingEngine.applyDimensionSources Method [AX 2012]
Fills any empty segments that match one of the specified dimension values.
Syntax
public boolean applyDimensionSources(List _dimensionSources, [int _mainAccountDefaultingPosition])
Run On
Called
Parameters
- _dimensionSources
Type: List Class
A list of elements of maps of dimension specifiers.
- _mainAccountDefaultingPosition
Type: int
An index that specifies the default dimension values for the main account should be applied at this position; optional.
Return Value
Type: boolean
true if a dimension value was applied after the class was constructed; otherwise, false.
Remarks
Elements in the dimension sources are permitted to be null, but they still count when they define the ledger account defaulting position.
A return status of true may indicate a previous call to the applyDimensionSources method.
The source list is generally built by using one or more of the following helper methods: getDefaultDimensionSpecifiers, getLedgerDimensionSpecifiers, getEntityDimensionSpecifiers