LedgerTransferOpening.setDimensionSegment Method [AX 2012]
Sets a dimension segment according to the supplied dimension segment value and dimension hierarchy.
Syntax
private boolean setDimensionSegment(
DimensionStorageSegment _segmentToFind,
DimensionHierarchyId _dimensionHierarchy,
DimensionAttributeValue _dimensionAttributeValue,
DimensionStorage _dimensionStorage)
Run On
Called
Parameters
- _segmentToFind
Type: DimensionStorageSegment Class
The DimensionStorageSegment object to set at the specified index.
- _dimensionHierarchy
Type: DimensionHierarchyId Extended Data Type
A dimension hierarchy ID.
- _dimensionAttributeValue
Type: DimensionAttributeValue Table
An instance of the DimensionAttributeValue class.
- _dimensionStorage
Type: DimensionStorage Class
An instance of the DimensionStorage class.
Return Value
Type: boolean
true if the value of the supplied DimensionStorageSegment object has been set successfully; otherwise, false.