SalesLine.copyDimension Method [AX 2012]

Copies a dimension set that can be applied to the defaultDimension field on this table.

public DimensionDefault copyDimension(DimensionDefault _defaultDimension, [DimensionCopy _dimensionCopy])

Run On

Called

Parameters

_defaultDimension
Type: DimensionDefault Extended Data Type
A dimension set that can be applied to the defaultDimension field on this table.
_dimensionCopy
Type: DimensionCopy Class
A dimensionCopy object that was created by using the current buffer; optional.

Return Value

Type: DimensionDefault Extended Data Type
A dimension set that can be applied to the defaultDimension field on the SalesLinetable.

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

Show: