PurchTableHistory.mergeDimension Method

Retrieves a dimension set that holds the merged combination of the current defaultDimension field on this table and the provided dimension set.

Syntax

public DimensionDefault mergeDimension(
    DimensionDefault _primaryDefaultDimension, 
   [DimensionDefault _secondaryDefaultDimension, 
    DimensionMerge _dimensionMerge])

Run On

Called

Parameters

  • _secondaryDefaultDimension
    Type: DimensionDefault Extended Data Type
    A second dimension set that should be merged with the current defaultDimension field on this table; optional.
  • _dimensionMerge
    Type: DimensionMerge Class
    A dimensionMerge object that was previously initialized from the current buffer; optional.

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.

Remarks

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

See Also

Reference

PurchTableHistory Table