ProjCopyItemEstimates.mergeDimension Method [AX 2012]

Retrieves a dimension set that holds the merged combination of the current defaultDimensionfield on this table and the specified dimension set.

private DimensionDefault mergeDimension(
    DimensionDefault _primaryDefaultDimension, 
   [DimensionDefault _secondaryDefaultDimension, 
    DimensionDefaultMap _dimensionDefaultMap, 
    LegalEntityRecId _legalEntityRecId])

Run On

Server

Parameters

_primaryDefaultDimension
Type: DimensionDefault Extended Data Type
A first dimension set to merge with the current defaultDimension field on this table.
_secondaryDefaultDimension
Type: DimensionDefault Extended Data Type
A second dimension set to merge with the current defaultDimension field on this table; optional.
_dimensionDefaultMap
Type: DimensionDefaultMap Map
A DimensionDefaultMap object that was initialized with the current buffer; optional.
_legalEntityRecId
Type: LegalEntityRecId Extended Data Type
A LegalEntityRecId object that contains rec id of current legal entity.

Return Value

Type: DimensionDefault Extended Data Type
A dimension set that holds the merged combination of the current defaultDimension field on this table and the specified dimension set.

This method makes sure that potential linked dimensions are not overwritten when they are merged.

Community Additions

ADD
Show: