LedgerDimensionController::applyTotalSuspendedDateRanges Method [AX 2012]
Restricts the query to dimension attribute values that meet the specified criteria.
Syntax
client server public static void applyTotalSuspendedDateRanges(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
FieldId _dimensionAttributeKeyFieldId,
boolean _includeSuspended,
boolean _includeTotal,
[date _date,
boolean _restrictDimAttribValueLedgerOverride,
LedgerRecId _ledgerRecId])
Run On
Called
Parameters
- _queryBuildDataSource
Type: QueryBuildDataSource Class
The QueryBuildDataSource object to which to add restictions.
- _dimensionAttributeId
Type: RecId Extended Data Type
The record ID of the dimension attribute for the segment for which to add restrictions.
- _dimensionAttributeKeyFieldId
Type: FieldId Extended Data Type
The field number of the dimension attribute key field.
- _includeSuspended
Type: boolean
A Boolean value that indicates whether to include the dimension attribute values marked as suspended.
- _includeTotal
Type: boolean
A Boolean value that indicates whether to include the dimension attribute values marked as total.
- _date
Type: date
The date to which the dimension attribute values need to be filtered; optional.
- _restrictDimAttribValueLedgerOverride
Type: boolean
A Boolean value that indicates whether to add query restrictions based on DimensionAttrValueLedgerOverride table; optional.
- _ledgerRecId
Type: LedgerRecId Extended Data Type
The record ID of the ledger; optional.
Remarks
The parameter _restrictDimAttribValueLedgerOverride is ignored. The values are always restricted.