Compartilhar via


InventTransferLine.mergeDimension Method

Retrieves a dimension set that contains the merged combination of the selected defaultDimension field in the SalesLine table and the specified 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 to merge with the selected defaultDimension field in the SalesLine table; optional.
  • _dimensionMerge
    Type: DimensionMerge Class
    A dimensionMerge object created by using the current buffer; optional.

Return Value

Type: DimensionDefault Extended Data Type
A dimension set that contains the merged combination of the selected defaultDimension field in the SalesLine table and the specified dimension set.

Remarks

Use this method to make sure that potential linked dimensions are not overwritten when they are merged.

See Also

Reference

InventTransferLine Table