COSCostBalancesTmp::createTempFromDatabase Method
Initializes a COSCostBalances record buffer for a combination of a forecast model, calculation, and cost value type from a time interval.
Syntax
client server public static COSCostBalancesTmp createTempFromDatabase(
COSPlanModelId _planModelId,
COSCalculationId _calculationId,
TransDate _startDate,
TransDate _endDate,
COSCostValueType _costValueType,
[COSVersionID _versionID])
Run On
Called
Parameters
- _planModelId
Type: COSPlanModelId Extended Data Type
A COSPlanModelId value that represents the forecast model ID.
- _calculationId
Type: COSCalculationId Extended Data Type
A COSCalculationId value that represents the ID of the calculation.
- _startDate
Type: TransDate Extended Data Type
The starting date of the interval.
- _endDate
Type: TransDate Extended Data Type
The end date of the interval.
- _costValueType
Type: COSCostValueType Enumeration
A COSCostValueType enumeration value that represents the calculation value type.
- _versionID
Type: COSVersionID Extended Data Type
A calculation version.
Return Value
Type: COSCostBalancesTmp Table
The initialized COSCostBalances record buffer.
Remarks
The balances in the buffer are initialized with the current data from the database.