Share via


WrkCtrCapResPeriodTemplateCalculate.calcCapacityLoadByPeriod Method [AX 2012]

Calculates the periods and retrieves the results as temporary records.

Syntax

public WrkCtrCapResPeriodTmp calcCapacityLoadByPeriod(
    RefRecId _workPeriodTemplateRecId, 
    TransDate _fromDate, 
    TransDate _toDate, 
    FormDataSource _workCalendarDateDataSource)

Run On

Called

Parameters

  • _workCalendarDateDataSource
    Type: FormDataSource Class
    Form data source for WorkCalendarDate table that contains data for calculation.

Return Value

Type: WrkCtrCapResPeriodTmp Table
The handle of the table buffer of the wrkCtrCapResPeriodTmp object variable that contains all created periods.

See Also

Reference

WrkCtrCapResPeriodTemplateCalculate Class