ReqPeriodTemplateCalculate.addPeriod Method [AX 2012]

Inserts a single temporary ReqTmpPeriodQty record that corresponds to one time period.

public void addPeriod(
    TransDate _fromDate, 
    TransDate _toDate, 
    PeriodTemplateDescription _periodDescription, 
    PeriodTemplateOpenDays _workDays)

Run On

Called

Parameters

_fromDate
Type: TransDate Extended Data Type
The from date of the time period.
_toDate
Type: TransDate Extended Data Type
The to date of the time period.
_periodDescription
Type: PeriodTemplateDescription Extended Data Type
A string that contains the description of the period.
_workDays
Type: PeriodTemplateOpenDays Extended Data Type
An integer that contains the number of working days between the from date and the to date. Both days are inclusive.

Community Additions

ADD
Show: