DimensionDefaultingControllerBase::getActiveOrDraftStructures Method [AX 2012]
Retrieves a container that represents a list of all active and draft structures that the specified dimension attribute exists in for either account structures or account rule structures.
Syntax
server private static container getActiveOrDraftStructures(
SelectableDataArea _company,
DimensionAttribute _dimAttr,
str _segmentSeparator,
DimensionHierarchyType _stuctureType)
Run On
Server
Parameters
- _company
Type: SelectableDataArea Extended Data Type
The company that is used to filter the list of dimension attributes.
- _dimAttr
Type: DimensionAttribute Table
The dimension attribute for which to search structures.
- _segmentSeparator
Type: str
A string that indicates how to format the spacing between segments in the structure.
- _stuctureType
Type: DimensionHierarchyType Enumeration
A value that indicates whether to search the account structures or account rule structures.
Return Value
Type: container
A container that represents a list of all active and draft structures that the specified dimension attribute exists in for either account structures or account rule structures.
Remarks
The container contains a Boolean value that indicates whether it is active or draft, followed by the structure name, and contains 2 segments that contain formatted strings of the segment names that exist before and after the specified segment.