BIDateDimensionManager::addDefaultDateDimensionRecord Method [AX 2012]
Validates that at least one record exists in the BIDateDimensions table.
Syntax
server public static BIDateDimension addDefaultDateDimensionRecord([BIDateDimension _biDateDimension, boolean _commitData])
Run On
Server
Parameters
- _biDateDimension
Type: BIDateDimension Table
A BIDateDimension table buffer to insert the new date dimension; optional.
- _commitData
Type: boolean
A Boolean flag that indicates whether to commit data to the database or not; optional.
Return Value
Type: BIDateDimension Table
The BIDateDimension table buffer with the new date dimension added.
Remarks
This method adds a new date dimension if a default date dimension exists.