Share via


ReqPlanData::scheduleDateOnTheServer Method [AX 2012]

Schedules a date on the calendar based on the specified parameters.

Syntax

server protected static SchedDate scheduleDateOnTheServer(
    SchedDirection _direction, 
    SchedDate _fromDate, 
    Days _margin, 
    NoYes _useWorkingDays, 
    CalendarId _primaryCalendarId, 
    CalendarId _secondaryCalendarId, 
    SalesCheckForPickup _checkForDateClosedForPickup)

Run On

Server

Parameters

  • _useWorkingDays
    Type: NoYes Enumeration
    A NoYes value indicating whether to only consider working days in the calendar.
  • _checkForDateClosedForPickup
    Type: SalesCheckForPickup Enumeration
    A SalesCheckForPickup value indicating whether to check if the date is closed for pickup.

Return Value

Type: SchedDate Extended Data Type
A date that complies with the parameters.

Remarks

This method runs exclusively on the server tier.

See Also

Reference

ReqPlanData Class