ReqPlanData::scheduleDateOnTheServer Method [AX 2012]
Schedules a date on the calendar based on the specified parameters.
server protected static SchedDate scheduleDateOnTheServer(
SchedDirection _direction,
SchedDate _fromDate,
Days _margin,
NoYes _useWorkingDays,
CalendarId _primaryCalendarId,
CalendarId _secondaryCalendarId,
SalesCheckForPickup _checkForDateClosedForPickup)
Run On
ServerParameters
- _direction
- Type: SchedDirection Enumeration
The direction to schedule from the _fromDate parameter.
- _fromDate
- Type: SchedDate Extended Data Type
The starting date to schedule from.
- _margin
- Type: Days Extended Data Type
The days to traverse in the calendar.
- _useWorkingDays
- Type: NoYes Enumeration
A NoYes value indicating whether to only consider working days in the calendar.
- _primaryCalendarId
- Type: CalendarId Extended Data Type
The ID of the primary calendar to use.
- _secondaryCalendarId
- Type: CalendarId Extended Data Type
The ID of the secondary calendar to use.
- _checkForDateClosedForPickup
- Type: SalesCheckForPickup Enumeration
A SalesCheckForPickup value indicating whether to check if the date is closed for pickup.
Show: