DimensionDefaultingControllerBase::getAllStructures Method [AX 2012]
Retrieves a container that contains 2 lists of all active and draft structures that the specified dimension attribute exists in for both account structures and account rule structures.
Syntax
server private static container getAllStructures(
SelectableDataArea _company,
DimensionAttribute _dimAttr,
str _segmentSeparator)
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.
Return Value
Type: container
A container that contains 2 lists of all active and draft structures that the specified dimension attribute exists in for both account structures and account rule structures.
Remarks
This method exists to wrap the getActiveOrDraftStructures method to limit client/server calls to return both types of account structures with one call.