ReqDemPlanDateConverter::getPeriodEndDate Method [AX 2012]
Returns the actual end date for a period.
Syntax
client server public static date getPeriodEndDate(date _dateInsidePeriod, ReqDemPlanDateGranularity _dateGranularity)
Run On
Called
Parameters
- _dateInsidePeriod
Type: date
Input date for calculating actual end date.
- _dateGranularity
Type: ReqDemPlanDateGranularity Enumeration
The date granularity of enum ReqDemPlanDateGranularity.
Return Value
Type: date
The actual end date.
Exceptions
Exception | Condition |
---|---|
Error | If the forecast bucket is not correctly specified it throws an error. |