Compartir a través de


COSCostBalances::createTempFromDatabase Method

Initializes a COSCostBalances record buffer for a combination of a forecast model, calculation, and cost value type from a time interval.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static COSCostBalances createTempFromDatabase(
            COSPlanModelId _planModelId, 
            COSCalculationId _calculationId, 
            TransDate _startDate, 
            TransDate _endDate, 
            COSCostValueType _costValueType, 
           [COSVersionID _versionID])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static COSCostBalances createTempFromDatabase(
            COSPlanModelId _planModelId, 
            COSCalculationId _calculationId, 
            TransDate _startDate, 
            TransDate _endDate, 
            COSCostValueType _costValueType, 
           [COSVersionID _versionID])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static COSCostBalances createTempFromDatabase(
            COSPlanModelId _planModelId, 
            COSCalculationId _calculationId, 
            TransDate _startDate, 
            TransDate _endDate, 
            COSCostValueType _costValueType)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static COSCostBalances createTempFromDatabase(
            COSPlanModelId _planModelId, 
            COSCalculationId _calculationId, 
            TransDate _startDate, 
            TransDate _endDate, 
            COSCostValueType _costValueType)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static COSCostBalances createTempFromDatabase(
            COSPlanModelId _planModelId, 
            COSCalculationId _calculationId, 
            TransDate _startDate, 
            TransDate _endDate, 
            COSCostValueType _costValueType)

Run On

Called

Parameters

Return Value

Type: COSCostBalances Table
The initialized COSCostBalances record buffer.

Remarks

The balances in the buffer are initialized with the current data from the database.

See Also

Reference

COSCostBalances Table